debian-mirror-gitlab/spec/javascripts/jobs/store/helpers.js
2018-12-13 13:39:08 +05:30

6 lines
169 B
JavaScript

import state from '~/jobs/store/state';
// eslint-disable-next-line import/prefer-default-export
export const resetStore = store => {
store.replaceState(state());
};