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