diff --git a/ui/spec/data_explorer/reducers/dataExplorerUISpec.js b/ui/spec/data_explorer/reducers/dataExplorerUISpec.js index bec3cb622..c0e002624 100644 --- a/ui/spec/data_explorer/reducers/dataExplorerUISpec.js +++ b/ui/spec/data_explorer/reducers/dataExplorerUISpec.js @@ -1,7 +1,7 @@ import reducer from 'src/data_explorer/reducers/dataExplorerUI'; import {activatePanel} from 'src/data_explorer/actions/view'; -describe('Chronograf.Reducers.Panel', () => { +describe('DataExploerer.Reducers.UI', () => { it('can set the active panel', () => { const activePanel = 123; const actual = reducer({}, activatePanel(activePanel)); diff --git a/ui/src/store/persistStateEnhancer.js b/ui/src/store/persistStateEnhancer.js index 9c788fcac..3216835d5 100644 --- a/ui/src/store/persistStateEnhancer.js +++ b/ui/src/store/persistStateEnhancer.js @@ -16,7 +16,7 @@ export default function persistState() { const throttleMs = 1000; store.subscribe(_.throttle(() => { - saveToLocalStorage({...store.getState()}); + saveToLocalStorage(store.getState()); }, throttleMs)); return store;