diff --git a/website/src/pages/index.astro b/website/src/pages/index.astro index 53a522e8..6630ef32 100644 --- a/website/src/pages/index.astro +++ b/website/src/pages/index.astro @@ -9,6 +9,6 @@ import { Repl } from '../repl/Repl'; Strudel REPL - + diff --git a/website/src/repl/panel/Panel.jsx b/website/src/repl/panel/Panel.jsx index eac31720..3b2b48fe 100644 --- a/website/src/repl/panel/Panel.jsx +++ b/website/src/repl/panel/Panel.jsx @@ -74,6 +74,7 @@ export function Panel({ context }) { {activeFooter === name && <>{children}} ); + const client = useClient(); if (isZen) { return null; } @@ -84,7 +85,6 @@ export function Panel({ context }) { right: cx('max-w-full flex-grow-0 flex-none overflow-hidden', isActive ? 'w-[600px] h-full' : 'absolute right-0'), bottom: cx('relative', isActive ? 'h-[360px] min-h-[360px]' : ''), }; - const client = useClient(); if (!client) { return null; }