Skip to content

Commit

Permalink
fix typo in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
kahkeng committed Jul 15, 2023
1 parent 778dc14 commit cabc3c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/contexts/ChatContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit cabc3c0

Please sign in to comment.