debian-mirror-gitlab/spec/frontend/jobs/store/helpers.js
2021-03-08 18:12:59 +05:30

5 lines
114 B
JavaScript

import state from '~/jobs/store/state';
export const resetStore = (store) => {
store.replaceState(state());
};