Skip to content

Commit

Permalink
use sessionstorage
Browse files Browse the repository at this point in the history
  • Loading branch information
filiptronicek committed Sep 25, 2023
1 parent 9978c61 commit 0af1e90
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export function BrowserExtensionBanner({ parser = new UAParser() }: BrowserExten
}

const persistedDisabled =
localStorage.getItem("browser-extension-installed") ||
sessionStorage.getItem("browser-extension-installed") ||
localStorage.getItem("browser-extension-banner-dismissed");
if (persistedDisabled) {
return null;
Expand Down

0 comments on commit 0af1e90

Please sign in to comment.