Update preferenceSlice.ts

This commit is contained in:
Alex 2023-03-28 10:19:42 +01:00
parent 2ebe5e051c
commit 9ba86bc174

View File

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