diff --git a/platforms/market/src/app/screens/(onboarding)/onboarding/creator-profile/organisms/creator-profile-step/components/ProfileForm.tsx b/platforms/market/src/app/screens/(onboarding)/onboarding/creator-profile/organisms/creator-profile-step/components/ProfileForm.tsx index 38ed207..17918ce 100644 --- a/platforms/market/src/app/screens/(onboarding)/onboarding/creator-profile/organisms/creator-profile-step/components/ProfileForm.tsx +++ b/platforms/market/src/app/screens/(onboarding)/onboarding/creator-profile/organisms/creator-profile-step/components/ProfileForm.tsx @@ -37,9 +37,8 @@ import { SaveStatus } from './SaveStatus'; import { StepLayout } from './StepLayout'; /** - * Step 5's form for a creator, top to bottom: photo, bio, markets, links and, once there is a - * link, the consent; «تکمیل ثبت‌نام» under it with the autosave line. Leaving a field saves at - * once. The preview opens in a sheet on mobile and stays beside the form on desktop. + * Step 5's form for a creator, top to bottom: photo, bio, markets, links and the consent; + * «تکمیل ثبت‌نام» under it with the autosave line. Leaving a field saves at once. The preview opens in a sheet on mobile and stays beside the form on desktop. */ export function ProfileForm({ page, @@ -210,34 +209,32 @@ export function ProfileForm({ layout={layout} optional /> - {links.rows.length > 0 && ( - ( - - field.onChange(event.target.checked)} - onBlur={field.onBlur} - invalid={fieldState.error != null} - aria-describedby={ - fieldState.error ? consentErrorId : undefined - } - > - {t('register.profile.links.consent')} - - {fieldState.error && ( - - {translateMessage(t, fieldState.error.message)} - - )} - - )} - /> - )} + ( + + field.onChange(event.target.checked)} + onBlur={field.onBlur} + invalid={fieldState.error != null} + aria-describedby={ + fieldState.error ? consentErrorId : undefined + } + > + {t('register.profile.links.consent')} + + {fieldState.error && ( + + {translateMessage(t, fieldState.error.message)} + + )} + + )} + />