Linting Broke it
title
This commit is contained in:
parent
a51dc9a3ef
commit
e77bcdf4e7
1 changed files with 1 additions and 1 deletions
|
|
@ -158,7 +158,7 @@ export default function ChatPage() {
|
||||||
setMessages([])
|
setMessages([])
|
||||||
setIsLoaded(false)
|
setIsLoaded(false)
|
||||||
}
|
}
|
||||||
}, [setUser, setMessages, setIsLoaded, threads, currentUser.suuid, currentUser.uuid, getUser, threadId, toast]) // Damn, quite a lot of dependencies, but lint said I should add it so....
|
}, [threadId, currentUser.uuid, supabase]) // Never trusting the lint again
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (!realtimeSubscribed) return;
|
if (!realtimeSubscribed) return;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue