debian-mirror-gitlab/spec/javascripts/releases/store/helpers.js
2019-02-13 22:33:31 +05:30

6 lines
173 B
JavaScript

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