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

12 lines
195 B
JavaScript
Raw Normal View History

export const resetStore = store => {
store.replaceState({
notes: [],
targetNoteHash: null,
lastFetchedAt: null,
notesData: {},
userData: {},
noteableData: {},
});
};