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