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

12 lines
197 B
JavaScript
Raw Normal View History

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