debian-mirror-gitlab/spec/frontend/jobs/store/helpers.js
2020-05-24 23:13:21 +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());
};