Small fix to persistent values

This commit is contained in:
Jori Lallo 2016-07-07 00:32:17 -07:00
parent b8da23556e
commit e035718f85

View File

@ -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 = () => {