mirror of
https://github.com/SableClient/Sable.git
synced 2026-11-26 03:46:25 -08:00
Fix syntaxical mistake causing chat open state to never update
This commit is contained in:
1 parent
f7fb4bcc11
commit
c8790a5284
1 file changed
+1
-1
@@ -238,7 +238,7 @@ export function CallProvider({ children }: CallProviderProps) {
|
||||
|
||||
const toggleChat = useCallback(async () => {
|
||||
const newState = !isChatOpen;
|
||||
setIsChatOpenState(!newState);
|
||||
setIsChatOpenState(newState);
|
||||
}, [isChatOpen]);
|
||||
|
||||
const contextValue = useMemo<CallContextState>(
|
||||
|
||||
Reference in new issue
Block a user