mirror of
https://github.com/yusufipk/OpenFrame.git
synced 2026-09-12 01:46:08 +00:00
18 lines
460 B
TypeScript
18 lines
460 B
TypeScript
import { requireProjectAccessOrRedirect } from '@/lib/route-access';
|
|
import NewVideoPageClient from './new-video-page-client';
|
|
|
|
interface NewVideoPageProps {
|
|
params: Promise<{ projectId: string }>;
|
|
}
|
|
|
|
export default async function NewVideoPage({ params }: NewVideoPageProps) {
|
|
const { projectId } = await params;
|
|
|
|
await requireProjectAccessOrRedirect({
|
|
projectId,
|
|
intent: 'manage',
|
|
});
|
|
|
|
return <NewVideoPageClient projectId={projectId} />;
|
|
}
|