mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-01-18 16:35:31 +01:00
refactor convos fetching to nav components, results in faster loading
This commit is contained in:
parent
e4d1ff2523
commit
742073fb89
8 changed files with 389 additions and 286 deletions
|
|
@ -5,7 +5,7 @@ const initialState = {
|
|||
title: 'ChatGPT Clone',
|
||||
conversationId: null,
|
||||
parentMessageId: null,
|
||||
convos: [],
|
||||
// convos: [],
|
||||
convosLoading: false,
|
||||
};
|
||||
|
||||
|
|
@ -19,7 +19,7 @@ const currentSlice = createSlice({
|
|||
setError: (state, action) => {
|
||||
state.error = action.payload;
|
||||
},
|
||||
setConvos: (state, action) => state.convos = action.payload,
|
||||
// setConvos: (state, action) => state.convos = action.payload,
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue