An AI-powered search engine with a generative UI
TypeScript generative-aigenerative-uinextjsollamareactsearxngshadcn-uitailwindcsstavilytypescriptupstashvercel-ai-sdk
Update react warnings fix as per https://github.com/miurla/morphic/pull/543
Robert Douglassde97f2dccf13
diff --git a/components/chat.tsx b/components/chat.tsxindex 4ab2f821..6c1d0c0b 100644--- a/components/chat.tsx+++ b/components/chat.tsx@@ -114,7 +114,7 @@ export function Chat({handleScroll() // Set initial statereturn () => container.removeEventListener('scroll', handleScroll)- }, [scrollContainerRef.current])+ }, [])// Scroll to the section when a new user message is sentuseEffect(() => {@@ -133,6 +133,7 @@ export function Chat({useEffect(() => {setMessages(savedMessages)+ // eslint-disable-next-line react-hooks/exhaustive-deps}, [id])const onQuerySelect = (query: string) => {