gitlab-org--gitlab-foss/spec/javascripts/notes/helpers.js
2018-10-17 11:18:17 -05:00

12 lines
252 B
JavaScript

// eslint-disable-next-line import/prefer-default-export
export const resetStore = store => {
store.replaceState({
notes: [],
targetNoteHash: null,
lastFetchedAt: null,
notesData: {},
userData: {},
noteableData: {},
});
};