11 lines
327 B
TypeScript
11 lines
327 B
TypeScript
|
|
import { ChatWorkspace } from "@/components/chat/chat-workspace";
|
||
|
|
|
||
|
|
export default async function ChannelPage({
|
||
|
|
params,
|
||
|
|
}: {
|
||
|
|
params: Promise<{ workspaceSlug: string; channelId: string }>;
|
||
|
|
}) {
|
||
|
|
const { workspaceSlug, channelId } = await params;
|
||
|
|
return <ChatWorkspace workspace={workspaceSlug} channelId={channelId} />;
|
||
|
|
}
|