Small fix to persistent values
This commit is contained in:
parent
b8da23556e
commit
e035718f85
@ -31,7 +31,7 @@ class DocumentScene extends React.Component {
|
||||
|
||||
constructor(props) {
|
||||
super(props);
|
||||
this.store = new DocumentSceneStore(JSON.parse(localStorage[DOCUMENT_PREFERENCES]));
|
||||
this.store = new DocumentSceneStore(JSON.parse(localStorage[DOCUMENT_PREFERENCES] || "{}"));
|
||||
}
|
||||
|
||||
componentDidMount = () => {
|
||||
|
Reference in New Issue
Block a user