gitlab-org--gitlab-foss/spec/javascripts/notes/helpers.js

13 lines
252 B
JavaScript
Raw Normal View History

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