Skip to content

Commit

Permalink
Update src/pages/create-identity/BillIssuer/PreviewIdentity.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Keaton <[email protected]>
  • Loading branch information
cryptosalomao and mjkeaton authored Dec 13, 2024
1 parent 617b982 commit d4129da
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/pages/create-identity/BillIssuer/PreviewIdentity.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -258,13 +258,10 @@ export default function PreviewIdentity({

<div className="flex flex-col gap-3">
<div className="flex gap-2">
<Checkbox id="terms_and_conditions" checked={hasAgreedToTerms} />
<Checkbox id="terms_and_conditions" checked={hasAgreedToTerms} onClick={() => { setHasAgreedToTerms((current) => !current); }}/>
<span
className="text-text-300 text-sm"
onClick={() => {
setHasAgreedToTerms(!hasAgreedToTerms);
}}
>
className="text-text-300 text-sm cursor-pointer"
onClick={() => { setHasAgreedToTerms((current) => !current); }}>
<FormattedMessage
id="I agree to the Terms and conditions"
defaultMessage="I agree to the Terms and conditions"
Expand Down

0 comments on commit d4129da

Please sign in to comment.