mirror of
https://codeberg.org/uzu/strudel
synced 2026-08-02 21:52:32 -04:00
hotfix: zen mode was broken
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user