Fix syntaxical mistake causing chat open state to never update

This commit is contained in:
GigiaJ 2025-04-22 22:29:07 -04:00
parent f7fb4bcc11
commit c8790a5284

View file

@ -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>(