Signed-off-by: erdoganoksuz <erdoganoksuz95@gmail.com>
This commit is contained in:
erdoganoksuz
2021-03-12 15:35:25 +03:00
parent 6af831266e
commit b7a061077f
9 changed files with 42 additions and 49 deletions
+1 -1
View File
@@ -66,7 +66,7 @@
</script>
<% } %>
</head>
<body style="margin: 0;">
<body style="margin: 0">
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<!--
+4 -3
View File
@@ -133,9 +133,10 @@ export const SidebarIntro = () => {
starredItemsDismissed: false,
recentlyViewedItemsDismissed: false,
};
const [dismissedIntro, setDismissedIntro] = useLocalStorage<
SidebarIntroLocalStorage
>(SIDEBAR_INTRO_LOCAL_STORAGE);
const [
dismissedIntro,
setDismissedIntro,
] = useLocalStorage<SidebarIntroLocalStorage>(SIDEBAR_INTRO_LOCAL_STORAGE);
const { starredItemsDismissed, recentlyViewedItemsDismissed } =
dismissedIntro ?? {};