Log an error on unknown state instead of throwing
This commit is contained in:
parent
5e5639b730
commit
3884c5ccf0
1 changed files with 1 additions and 1 deletions
|
@ -1476,6 +1476,6 @@ module.exports = React.createClass({
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
throw new Error(`Unknown view ${this.state.view}`);
|
console.error(`Unknown view ${this.state.view}`);
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue