Fix recursion

This commit is contained in:
2026-08-20 10:24:13 +02:00
parent 32271289f3
commit fc1c550a2e
2 changed files with 6 additions and 7 deletions
+2 -3
View File
@@ -14,11 +14,10 @@ export default function Page({
}: {
appRef: React.RefObject<Enclave | null>;
}) {
if (!appRef.current?.page?.kind) return null;
switch (appRef.current?.page?.kind) {
case "channel":
return <ChannelPage appRef={appRef} />;
default:
return null;
}
}