Skip to content

Commit 6497685

Browse files
committed
hide infobanner
1 parent 716758c commit 6497685

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/components/layout.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ const Layout = props => {
2424

2525
useEffect(() => {
2626
const key = localStorage.getItem(BANNER_TO_KEY)
27-
console.log(key)
2827
if (!key) {
2928
setVisible(true)
3029
}
@@ -41,7 +40,7 @@ const Layout = props => {
4140

4241
<Header lang={siteLanguage} />
4342

44-
<InfoBanner onHide={() => hideNote()} visible={visible} />
43+
<InfoBanner onHide={() => hideNote()} visible={false} />
4544

4645
<main id="main-content">{children}</main>
4746

0 commit comments

Comments
 (0)