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