diff --git a/src/components/dialogs/EmailDialog/screens/Update.tsx b/src/components/dialogs/EmailDialog/screens/Update.tsx index 628be74d29..9497ff1eb2 100644 --- a/src/components/dialogs/EmailDialog/screens/Update.tsx +++ b/src/components/dialogs/EmailDialog/screens/Update.tsx @@ -22,9 +22,7 @@ import {CheckThick_Stroke2_Corner0_Rounded as Check} from '#/components/icons/Ch import {Loader} from '#/components/Loader' import {Text} from '#/components/Typography' -export function Update(_props: { - config: Exclude -}) { +export function Update(_props: {config: Exclude}) { const t = useTheme() const {_} = useLingui() const {currentAccount} = useSession() diff --git a/src/components/dialogs/EmailDialog/screens/Verify.tsx b/src/components/dialogs/EmailDialog/screens/Verify.tsx index 296324be82..fe67e3a25d 100644 --- a/src/components/dialogs/EmailDialog/screens/Verify.tsx +++ b/src/components/dialogs/EmailDialog/screens/Verify.tsx @@ -15,13 +15,11 @@ import {type Screen} from '#/components/dialogs/EmailDialog/types' import {Divider} from '#/components/Divider' import {CheckThick_Stroke2_Corner0_Rounded as Check} from '#/components/icons/Check' import {Envelope_Stroke2_Corner0_Rounded as Envelope} from '#/components/icons/Envelope' -import {createStaticClick,InlineLinkText} from '#/components/Link' +import {createStaticClick, InlineLinkText} from '#/components/Link' import {Loader} from '#/components/Loader' -import {Span,Text} from '#/components/Typography' +import {Span, Text} from '#/components/Typography' -export function Verify(_props: { - config: Exclude -}) { +export function Verify(_props: {config: Exclude}) { const t = useTheme() const {_} = useLingui() const {currentAccount} = useSession() diff --git a/src/components/dialogs/EmailDialog/types.ts b/src/components/dialogs/EmailDialog/types.ts index d477240e87..9a8cc422b9 100644 --- a/src/components/dialogs/EmailDialog/types.ts +++ b/src/components/dialogs/EmailDialog/types.ts @@ -12,14 +12,6 @@ export type Screen = | { id: ScreenID.Update } - | { - id: ScreenID.EnterCode - /** - * - email was sent earlier - * - email was _just_ sent - */ - instructions: ReactNode[] - } | { id: ScreenID.Verify /** @@ -33,6 +25,5 @@ export type Screen = export enum ScreenID { Update = 'Update', // normal, instructs to click link first - EnterCode = 'EnterCode', // if user elects to enter a code Verify = 'Verify', // as a separate step, instructs to click link first }