adding redux to reduce prop drilling and allow for advanced conversation state

This commit is contained in:
Daniel Avila 2023-02-06 21:18:28 -05:00
parent 6e3f63ee46
commit 85efaa4173
2 changed files with 2 additions and 1 deletions

View file

@ -16,6 +16,7 @@ const currentSlice = createSlice({
},
}
});
//
export const { setConversation } = currentSlice.actions;

View file

@ -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: {