diff --git a/app/javascript/mastodon/features/account_timeline/components/account_subscription_form.tsx b/app/javascript/mastodon/features/account_timeline/components/account_subscription_form.tsx index d183aa1cb3..0013a4bc14 100644 --- a/app/javascript/mastodon/features/account_timeline/components/account_subscription_form.tsx +++ b/app/javascript/mastodon/features/account_timeline/components/account_subscription_form.tsx @@ -12,13 +12,10 @@ import type { ValidationErrorResponse, ValidationError, } from 'mastodon/api_types/errors'; -import { A11yLiveRegion } from 'mastodon/components/a11y_live_region'; import { Button } from 'mastodon/components/button'; -import { CalloutInline } from 'mastodon/components/callout_inline'; import { DisplayName } from 'mastodon/components/display_name'; import type { FieldStatus } from 'mastodon/components/form_fields'; -import formFieldClasses from 'mastodon/components/form_fields/form_field_wrapper.module.scss'; -import { TextInput } from 'mastodon/components/form_fields/text_input_field'; +import { TextInputField } from 'mastodon/components/form_fields/text_input_field'; import { useAppSelector } from 'mastodon/store'; import classes from './redesign.module.scss'; @@ -34,7 +31,7 @@ const messages = defineMessages({ }, email: { id: 'email_subscriptions.email', - defaultMessage: 'Email address', + defaultMessage: 'Email', }, }); @@ -159,33 +156,19 @@ export const AccountSubscriptionForm: React.FC<{ accountId: string }> = ({ }} /> -
-
- - - - {errors.email && ( - - )} - -
+