Skip to content

Commit

Permalink
Fix intro modal opens everytime
Browse files Browse the repository at this point in the history
  • Loading branch information
teodorus-nathaniel committed Jun 11, 2024
1 parent 5de225d commit c81dbfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/modals/Meme2EarnIntroModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export default function Meme2EarnIntroModal() {
const [isOpenModal, setIsOpenModal] = useState(false)
useEffect(() => {
const hasVisited = hasVisitedStorage.get() === 'true'
if (!hasVisited || true) {
if (!hasVisited) {
hasVisitedStorage.set('true')
setIsOpenModal(true)
}
Expand Down

0 comments on commit c81dbfc

Please sign in to comment.