From ed1293c98a9ff76d889094c32f3f6f4ad0ceed25 Mon Sep 17 00:00:00 2001 From: raboid Date: Fri, 12 Apr 2019 12:27:41 -0400 Subject: [PATCH] fix omit call --- pages/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/index.js b/pages/index.js index fa5f1fa..6c43738 100644 --- a/pages/index.js +++ b/pages/index.js @@ -23,7 +23,7 @@ class Index extends React.Component { onEditorUpdate = debounce( state => { - updateRouteState(this.props.router, omit(state, 'themes')) + updateRouteState(this.props.router, omit(state, ['themes'])) saveSettings( localStorage, omit(state, ['code', 'backgroundImage', 'backgroundImageSelection', 'filename', 'themes'])