reorganize dirs for dockerize

This commit is contained in:
Danny Avila 2023-03-06 10:15:07 -05:00
parent 6ae154cc42
commit fca546af63
38 changed files with 1056 additions and 1970 deletions

View file

@ -29,7 +29,10 @@ const currentSlice = createSlice({
state.pageNumber = state.pageNumber + 1;
},
setConvos: (state, action) => {
state.convos = [...state.convos, ...action.payload];
const newConvos = action.payload.filter((convo) => {
return !state.convos.some((c) => c.conversationId === convo.conversationId);
});
state.convos = [...state.convos, ...newConvos];
},
}
});