fix omit call

main
raboid 6 years ago committed by Michael Fix
parent 03b5b65613
commit ed1293c98a

@ -23,7 +23,7 @@ class Index extends React.Component {
onEditorUpdate = debounce( onEditorUpdate = debounce(
state => { state => {
updateRouteState(this.props.router, omit(state, 'themes')) updateRouteState(this.props.router, omit(state, ['themes']))
saveSettings( saveSettings(
localStorage, localStorage,
omit(state, ['code', 'backgroundImage', 'backgroundImageSelection', 'filename', 'themes']) omit(state, ['code', 'backgroundImage', 'backgroundImageSelection', 'filename', 'themes'])

Loading…
Cancel
Save