adds default doc

This commit is contained in:
ajaythapliyal
2023-03-01 09:05:16 +05:30
parent 923165957e
commit 2f63bf85b5
5 changed files with 36 additions and 5936 deletions

View File

@@ -29,7 +29,7 @@ export const prefSlice = createSlice({
state.selectedDocs = action.payload;
},
setSourceDocs: (state, action) => {
state.sourceDocs = action.payload;
state.sourceDocs?.push(...action.payload);
},
},
});