mirror of
https://github.com/arc53/DocsGPT
synced 2024-11-03 23:15:37 +00:00
Update preferenceSlice.ts
This commit is contained in:
parent
2ebe5e051c
commit
9ba86bc174
@ -39,7 +39,7 @@ export const prefSlice = createSlice({
|
||||
state.selectedDocs = action.payload;
|
||||
},
|
||||
setSourceDocs: (state, action) => {
|
||||
state.sourceDocs?.push(...action.payload);
|
||||
state.sourceDocs = action.payload;
|
||||
},
|
||||
},
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user