You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
323 B
TypeScript
14 lines
323 B
TypeScript
import { redirect } from 'next/navigation';
|
|
import { Locale } from '@/i18n-config';
|
|
|
|
export default async function DashboardPage({
|
|
params
|
|
}: {
|
|
params: Promise<{ locale: Locale }>
|
|
}) {
|
|
const { locale } = await params;
|
|
|
|
// Manager portal dashboard redirects to club management
|
|
redirect(`/${locale}/admin/clubs`);
|
|
}
|