mirror of
https://codeberg.org/MarkusThielker/next-ory.git
synced 2025-04-18 00:21:18 +00:00
Update ConsentForm props to use onAcceptAction and onRejectAction for consistency.
This commit is contained in:
parent
0ac61933e6
commit
5c01f1a730
1 changed files with 2 additions and 2 deletions
|
@ -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">
|
<Card className="flex flex-col items-center w-full max-w-sm p-4">
|
||||||
<ConsentForm
|
<ConsentForm
|
||||||
request={consentRequest}
|
request={consentRequest}
|
||||||
onAccept={onAccept}
|
onAcceptAction={onAccept}
|
||||||
onReject={onReject}/>
|
onRejectAction={onReject}/>
|
||||||
</Card>
|
</Card>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue