explicitly specify default visibility value till initializes (#20312)
This commit is contained in:
1 parent
10c9c63ad8
commit
0eb4e6c7d4
1 file changed
+3
-1
@@ -150,7 +150,9 @@ export default async function RootLayout({ children }: { children: React.ReactNo
|
|||||||
// - Tells iframe which mode it should be in (dark/light) - if there is a a UI instruction for that
|
// - Tells iframe which mode it should be in (dark/light) - if there is a a UI instruction for that
|
||||||
visibility: "hidden",
|
visibility: "hidden",
|
||||||
}
|
}
|
||||||
: {}
|
: {
|
||||||
|
visibility: "visible",
|
||||||
|
}
|
||||||
}>
|
}>
|
||||||
<IconSprites />
|
<IconSprites />
|
||||||
{!!process.env.NEXT_PUBLIC_BODY_SCRIPTS && (
|
{!!process.env.NEXT_PUBLIC_BODY_SCRIPTS && (
|
||||||
|
|||||||
Reference in new issue
Block a user