suna/frontend/src/app/dashboard/(teamAccount)/[accountSlug]/page.tsx

16 lines
326 B
TypeScript
Raw Normal View History

2025-04-16 01:20:15 +08:00
import { redirect } from 'next/navigation';
2025-04-12 02:57:17 +08:00
2025-04-16 01:20:15 +08:00
interface AccountRedirectProps {
params: {
accountSlug: string;
};
}
export default function AccountRedirect({
params,
}: AccountRedirectProps) {
const { accountSlug } = params;
// Redirect to the settings page
redirect(`/dashboard/${accountSlug}/settings`);
}