Log an error on unknown state instead of throwing
parent
5e5639b730
commit
3884c5ccf0
|
@ -1476,6 +1476,6 @@ module.exports = React.createClass({
|
|||
);
|
||||
}
|
||||
|
||||
throw new Error(`Unknown view ${this.state.view}`);
|
||||
console.error(`Unknown view ${this.state.view}`);
|
||||
},
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue