Channel view

This commit is contained in:
2026-08-20 10:04:19 +02:00
parent 755ae24cde
commit c319266c51
5 changed files with 55 additions and 2 deletions
@@ -0,0 +1,16 @@
import Enclave from "@/app/app";
import { ChannelPageProps } from "@/lib/page";
export default function ChannelPage({
appRef,
}: {
appRef: React.RefObject<Enclave<ChannelPageProps> | null>;
}) {
switch (appRef.current?.page?.channel.kind) {
case "text":
return <ChannelPage appRef={appRef} />;
default:
return null;
}
}