1
0
Fork 0
mirror of https://codeberg.org/MarkusThielker/next-ory.git synced 2025-04-10 11:58:41 +00:00

Update ConsentForm props to use onAcceptAction and onRejectAction for consistency.

This commit is contained in:
dotX12 2025-01-26 16:56:06 +03:00
parent 0ac61933e6
commit 5c01f1a730

View file

@ -83,8 +83,8 @@ export default async function Consent(props: { searchParams: Promise<{ consent_c
<Card className="flex flex-col items-center w-full max-w-sm p-4">
<ConsentForm
request={consentRequest}
onAccept={onAccept}
onReject={onReject}/>
onAcceptAction={onAccept}
onRejectAction={onReject}/>
</Card>
);
}