From cabc3c00a2cdb262b9d27283fb0ce9c5dcbdd8ca Mon Sep 17 00:00:00 2001 From: Kah Keng Tay Date: Fri, 14 Jul 2023 17:51:08 -0700 Subject: [PATCH] fix typo in comment --- src/contexts/ChatContext.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/contexts/ChatContext.tsx b/src/contexts/ChatContext.tsx index cf211d0de..d63aa3427 100644 --- a/src/contexts/ChatContext.tsx +++ b/src/contexts/ChatContext.tsx @@ -83,7 +83,7 @@ export const ChatContextProvider = ({ children }: { children: ReactNode }) => { const { status } = useSession(); // shouldConnect can be true for logged out to view public sessions, but we want to // enforce a disconnect and reconnect when the auth status changes, so - // that the websocket will end up use the latest cookie state + // that the websocket will end up using the latest cookie state const shouldConnect = status == lastAuthStatus; const backendUrl = getBackendWebsocketUrl(); const {