diff --git a/src/scenes/DocumentScene/DocumentScene.js b/src/scenes/DocumentScene/DocumentScene.js index 04dbcc8d..30a5ae31 100644 --- a/src/scenes/DocumentScene/DocumentScene.js +++ b/src/scenes/DocumentScene/DocumentScene.js @@ -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 = () => {