mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-11-06 15:30:27 +03:00
Fix syntaxical mistake causing chat open state to never update
This commit is contained in:
parent
f7fb4bcc11
commit
c8790a5284
1 changed files with 1 additions and 1 deletions
|
|
@ -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>(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue