Skip to content

Commit

Permalink
Fix wrong logic
Browse files Browse the repository at this point in the history
  • Loading branch information
teodorus-nathaniel committed Nov 27, 2023
1 parent 6084473 commit c3ac9c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/chats/ChatForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ export default function ChatForm({
}

const willOpenLoginModal = withoutAnonLoginOptions && !isLoggedIn
if (!hasSentMessageStorage.get() && willOpenLoginModal) {
if (!hasSentMessageStorage.get() && !willOpenLoginModal) {
setTimeout(() => {
setIsOpenCtaModal(true)
}, 2000)
Expand Down

0 comments on commit c3ac9c6

Please sign in to comment.