debian-mirror-gitlab/spec/javascripts/releases/store/helpers.js
2019-02-15 15:39:39 +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());
};