Welcome to mirror list, hosted at ThFree Co, Russian Federation.

helpers.js « notes « frontend « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ed34f985e9426286803f2088656ff6123d42cfdb (plain)
1
2
3
4
5
6
7
8
9
10
11
export const resetStore = (store) => {
  store.replaceState({
    notes: [],
    targetNoteHash: null,
    lastFetchedAt: null,

    notesData: {},
    userData: {},
    noteableData: {},
  });
};