Files
sorsfonalak/services/frontend/src/app/meghivo/[token]/page.tsx
T

8 lines
320 B
TypeScript
Raw Normal View History

import { redirect } from "next/navigation";
/** The link in the invitation e-mail: the login page shows the invitation. */
export default async function InvitationLink({ params }: { params: Promise<{ token: string }> }) {
const { token } = await params;
redirect(`/belepes?meghivo=${encodeURIComponent(token)}`);
}