Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
File size: 556 Bytes
a3f1817 df83860 b965e2b b161bd3 df83860 a3f1817 b161bd3 df83860 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
import { AppQueryProps } from "@/types"
import { Main } from "../main"
import { getChannel } from "../server/actions/ai-tube-hf/getChannel"
import { getChannelVideos } from "../server/actions/ai-tube-hf/getChannelVideos"
export default async function ChannelPage({ searchParams: { c: channelId } }: AppQueryProps) {
const channel = await getChannel({ channelId, neverThrow: true })
const publicVideos = await getChannelVideos({
channel: channel,
status: "published",
})
return (<Main channel={channel} publicVideos={publicVideos} />)
} |