mirror of
https://github.com/ivanfioravanti/chatbot-ollama.git
synced 2023-12-01 22:17:38 +03:00
Fix last commit removing an infinite loop
This commit is contained in:
@@ -233,7 +233,7 @@ export const Chat = memo(({ stopConversationRef }: Props) => {
|
||||
conversations,
|
||||
selectedConversation,
|
||||
stopConversationRef,
|
||||
homeDispatch
|
||||
homeDispatch,
|
||||
],
|
||||
);
|
||||
|
||||
|
||||
@@ -288,7 +288,7 @@ const Home = ({ defaultModelId }: Props) => {
|
||||
},
|
||||
});
|
||||
}
|
||||
}, [defaultModelId, dispatch, conversations, t]);
|
||||
}, [defaultModelId, dispatch, t]);
|
||||
|
||||
return (
|
||||
<HomeContext.Provider
|
||||
|
||||
Reference in New Issue
Block a user