pstream is dead; long live pstream taciturnaxolotl.github.io/pstream-ng/

update banner to use localstorage instead so it stays hidden

Pas 04618295 94f6ecf0

+2 -2
+2 -2
src/stores/banner/BannerLocation.tsx
··· 22 22 }; 23 23 24 24 useEffect(() => { 25 - const hideBannerFlag = sessionStorage.getItem(`hideBanner-${props.id}`); 25 + const hideBannerFlag = localStorage.getItem(`hideBanner-${props.id}`); 26 26 if (hideBannerFlag) { 27 27 hideBanner(props.id, true); 28 28 } ··· 44 44 className="absolute right-4 hover:cursor-pointer" 45 45 onClick={() => { 46 46 hideBanner(props.id, true); 47 - sessionStorage.setItem(`hideBanner-${props.id}`, "true"); 47 + localStorage.setItem(`hideBanner-${props.id}`, "true"); 48 48 }} 49 49 > 50 50 <Icon icon={Icons.X} />