clear all convos in progress, async code refactored in debugging warning

This commit is contained in:
Daniel Avila 2023-02-07 19:07:48 -05:00
parent 053368646d
commit 511ac948b4
10 changed files with 84 additions and 65 deletions

View file

@ -9,7 +9,7 @@ const currentSlice = createSlice({
initialState,
reducers: {
setMessages: (state, action) => {
state.messages = [...action.payload];
state.messages = action.payload;
},
}
});