diff --git a/src/components/Nav/AuthModal/RegisterForm.tsx b/src/components/Nav/AuthModal/RegisterForm.tsx index d7d79231..fcd66d18 100644 --- a/src/components/Nav/AuthModal/RegisterForm.tsx +++ b/src/components/Nav/AuthModal/RegisterForm.tsx @@ -137,11 +137,16 @@ export const RegisterForm = () => { case 'verified': setValidationErrors((prev) => ({ - email: (<>{t('This email is verified')}. {t('You can')}), + email: ( + <> + {t('This email is verified')}. {t('You can')} + + ), })) break case 'registered': - setValidationErrors((prev) => ({ ...prev, + setValidationErrors((prev) => ({ + ...prev, email: ( <> {t('This email is registered')}. {t('You can')}{' '} @@ -216,33 +221,44 @@ export const RegisterForm = () => { - changeSearchParams({ mode: 'login' })}> + changeSearchParams({ mode: 'login' })} + > {emailStatus() === 'verified' ? t('Login') : t('')} - }> - setPasswordError(err)} - onInput={(value) => setPassword(value)} - /> + + } + > + setPasswordError(err)} + onInput={(value) => setPassword(value)} + />
- changeSearchParams({ mode: 'send-reset-link' }) - }> - {t('Set the new password')} - }> + changeSearchParams({ mode: 'send-reset-link' })} > - {isSubmitting() ? '...' : t('Join')} + {t('Set the new password')} + } + > +
diff --git a/src/components/Topic/TopicBadge/TopicBadge.module.scss b/src/components/Topic/TopicBadge/TopicBadge.module.scss index 3f9d8436..f219910a 100644 --- a/src/components/Topic/TopicBadge/TopicBadge.module.scss +++ b/src/components/Topic/TopicBadge/TopicBadge.module.scss @@ -8,6 +8,7 @@ flex-direction: row; margin-bottom: .8rem; } + .basicInfo { display: flex; flex-flow: row nowrap;