debian-mirror-gitlab/spec/javascripts/releases/store/helpers.js

7 lines
173 B
JavaScript
Raw Normal View History

2019-02-15 15:39:39 +05:30
import state from '~/releases/store/state';
// eslint-disable-next-line import/prefer-default-export
export const resetStore = store => {
store.replaceState(state());
};