mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-01-23 18:56:12 +01:00
adding redux to reduce prop drilling and allow for advanced conversation state
This commit is contained in:
parent
6e3f63ee46
commit
85efaa4173
2 changed files with 2 additions and 1 deletions
|
|
@ -16,6 +16,7 @@ const currentSlice = createSlice({
|
|||
},
|
||||
}
|
||||
});
|
||||
//
|
||||
|
||||
export const { setConversation } = currentSlice.actions;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import { configureStore } from '@reduxjs/toolkit';
|
||||
|
||||
import convoReducer from './convoSlice.js';
|
||||
// import uploadReducer from './uploadSlice.js';
|
||||
// import uploadReducer from './uploadSlice.js'
|
||||
|
||||
export const store = configureStore({
|
||||
reducer: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue