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:
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">
|
||||
<ConsentForm
|
||||
request={consentRequest}
|
||||
onAccept={onAccept}
|
||||
onReject={onReject}/>
|
||||
onAcceptAction={onAccept}
|
||||
onRejectAction={onReject}/>
|
||||
</Card>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue