Fix last commit removing an infinite loop

This commit is contained in:
ivanfioravanti
2023-10-08 22:29:38 +02:00
parent 52e5074d54
commit 941d11aa4c
2 changed files with 2 additions and 2 deletions

View File

@@ -233,7 +233,7 @@ export const Chat = memo(({ stopConversationRef }: Props) => {
conversations,
selectedConversation,
stopConversationRef,
homeDispatch
homeDispatch,
],
);

View File

@@ -288,7 +288,7 @@ const Home = ({ defaultModelId }: Props) => {
},
});
}
}, [defaultModelId, dispatch, conversations, t]);
}, [defaultModelId, dispatch, t]);
return (
<HomeContext.Provider