Skip to content

Commit

Permalink
chore(clerk-js): Remove label from form control
Browse files Browse the repository at this point in the history
  • Loading branch information
octoper committed Oct 18, 2024
1 parent 47ffabf commit b9f3199
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ function _SignUpContinue() {
}),
__experimental_legalAccepted: useFormControl('__experimental_legalAccepted', '', {
type: 'checkbox',
label: 'I agree to the Terms of Service and Privacy Policy',
label: '',
defaultChecked: false,
isRequired: userSettings.signUp.legal_consent_enabled || false,
}),
Expand Down
2 changes: 1 addition & 1 deletion packages/clerk-js/src/ui/components/SignUp/SignUpStart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ function _SignUpStart(): JSX.Element {
}),
__experimental_legalAccepted: useFormControl('__experimental_legalAccepted', '', {
type: 'checkbox',
label: 'I agree to the Terms of Service and Privacy Policy',
label: '',
defaultChecked: false,
isRequired: userSettings.signUp.legal_consent_enabled || false,
}),
Expand Down

0 comments on commit b9f3199

Please sign in to comment.