Skip to content

Commit

Permalink
fix: set banner closed in local storage
Browse files Browse the repository at this point in the history
  • Loading branch information
Rémy Baranx committed Feb 27, 2024
1 parent 83f9ed9 commit 749d24d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/AboutCairoVMBanner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ const AboutCairoVMBanner = () => {
}, [])

const handleCloseBanner = () => {
localStorage.setItem('isBannerClosed', 'closed')
setIsShown(false)
}

Expand Down

0 comments on commit 749d24d

Please sign in to comment.