fp/packages/next/app/vt/[slug]/vod/page.tsx

16 lines
348 B
TypeScript
Raw Normal View History

2024-01-20 16:16:14 +00:00
import React from 'react';
import Link from 'next/link';
import { redirect } from 'next/navigation';
interface IPageParams {
params: {
slug: string;
}
}
export default function Page({ params: { slug } }: IPageParams) {
redirect(`/vt/${slug}/vods`)
return <Link href={`/vt/${slug}/vods`}>See {`/vt/${slug}/vods`}</Link>
}