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

7 lines
169 B
JavaScript
Raw Normal View History

2018-12-13 13:39:08 +05:30
import state from '~/jobs/store/state';
// eslint-disable-next-line import/prefer-default-export
export const resetStore = store => {
store.replaceState(state());
};