Skip to content

Commit

Permalink
Merge pull request #43 from Callhub-Connect/fix-email-again
Browse files Browse the repository at this point in the history
stopped chat.jsx from deleting sessionid again :(
  • Loading branch information
zjayee authored Dec 4, 2023
2 parents 5e50454 + 1c4e345 commit 9aecf29
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/components/chat-component/Chat.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ function clearSessionAndNavigate(){
// Clear the messages when the session ends
setMessages([]);
sessionStorage.removeItem("chatMessages");
sessionStorage.removeItem("sessionId");
sessionStorage.removeItem("sessionCode");
localStorage.removeItem("isSessionActive");
unsubscribeToEndSession(sessionEnded);
Expand Down
2 changes: 1 addition & 1 deletion src/components/enter-code-component/EnterCode.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ function EnterCode() {
<CodeContainer>
<Text>Enter your session code</Text>
<InputSection>
<Input placeholder="ex. abcd123"
<Input placeholder="ex. ABCDEF"
onKeyPress={handleKeyPress} onChange={handleInputChange}/>
<Button onClick={joinSession}>Connect</Button>
</InputSection>
Expand Down

0 comments on commit 9aecf29

Please sign in to comment.