Remove unused params

This commit is contained in:
olaven 2024-08-24 18:30:36 +02:00
parent af99d4ec5a
commit 87f8612c34
1 changed files with 3 additions and 10 deletions

View File

@ -22,23 +22,16 @@ export const handler: Handlers = {
return Response.redirect("/donations-error");
}
const validatedAgreement = await storage.writeVippsAgreement({
await storage.writeVippsAgreement({
...agreement,
validAt: new Date(),
});
return ctx.render({ agreement: validatedAgreement });
return ctx.render({});
},
};
export default function ({ data }: PageProps<{
agreement: {
status: string;
id: string;
};
status: string;
}>) {
export default function ({}: PageProps<unknown>) {
return (
<div className="my-16 text-center flex flex-col items-center min-h-screen ">
<h1 className="text-6xl mb-8">