mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-02-14 14:38:11 +01:00
dark mode alternates to light mode on dark theme, error state in progress
This commit is contained in:
parent
5cd50e7826
commit
0c6dc8665b
6 changed files with 118 additions and 6 deletions
|
|
@ -9,9 +9,9 @@ import useDidMountEffect from './hooks/useDidMountEffect';
|
|||
|
||||
const App = () => {
|
||||
const { messages } = useSelector((state) => state.messages);
|
||||
const convo = useSelector((state) => state.convo);
|
||||
const { conversationId } = useSelector((state) => state.convo);
|
||||
const { data, error, isLoading, mutate } = swr('http://localhost:3050/convos');
|
||||
useDidMountEffect(() => mutate(), [convo]);
|
||||
useDidMountEffect(() => mutate(), [conversationId]);
|
||||
|
||||
return (
|
||||
<div className="flex h-screen">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue