7 lines
173 B
JavaScript
7 lines
173 B
JavaScript
|
import state from '~/releases/store/state';
|
||
|
|
||
|
// eslint-disable-next-line import/prefer-default-export
|
||
|
export const resetStore = store => {
|
||
|
store.replaceState(state());
|
||
|
};
|