···99import {sanitizeHandle} from '#/lib/strings/handles'
1010import {logger} from '#/logger'
1111import {useAgent, useSession, useSessionApi} from '#/state/session'
1212-import {atoms as a, useTheme, web} from '#/alf'
1212+import {atoms as a, useTheme} from '#/alf'
1313import {Admonition} from '#/components/Admonition'
1414import {type DialogOuterProps} from '#/components/Dialog'
1515import {
···1919import * as TextField from '#/components/forms/TextField'
2020import {Envelope_Stroke2_Corner0_Rounded as Envelope} from '#/components/icons/Envelope'
2121import {Lock_Stroke2_Corner0_Rounded as Lock} from '#/components/icons/Lock'
2222-import {createStaticClick, InlineLinkText} from '#/components/Link'
2222+import {createStaticClick, SimpleInlineLinkText} from '#/components/Link'
2323import {Loader} from '#/components/Loader'
2424import * as Prompt from '#/components/Prompt'
2525import * as toast from '#/components/Toast'
···113113 }
114114 const token = confirmCode.replace(WHITESPACE_RE, '')
115115 // Inform chat service of intent to delete account.
116116- const {success} = await agent.api.chat.bsky.actor.deleteAccount(
117117- undefined,
118118- {
119119- headers: DM_SERVICE_HEADERS,
120120- },
121121- )
116116+ const {success} = await agent.chat.bsky.actor.deleteAccount(undefined, {
117117+ headers: DM_SERVICE_HEADERS,
118118+ })
122119 if (!success) {
123120 throw new Error('Failed to inform chat service of account deletion')
124121 }
···213210 <Admonition style={[a.mt_lg]} type="tip">
214211 <Trans>
215212 You can also{' '}
216216- <Span
217217- style={[{color: t.palette.primary_500}, web(a.underline)]}
218218- onPress={handleDeactivate}>
213213+ <SimpleInlineLinkText
214214+ label={_(msg`Temporarily deactivate your account`)}
215215+ {...createStaticClick(handleDeactivate)}>
219216 temporarily deactivate
220220- </Span>{' '}
217217+ </SimpleInlineLinkText>{' '}
221218 your account instead. Your profile, posts, feeds, and lists will
222219 no longer be visible to other Bluesky users. You can reactivate
223220 your account at any time by logging in.
···262259 {emailSentCount > 1 ? (
263260 <Trans>
264261 Email sent!{' '}
265265- <InlineLinkText
266266- label={_(msg`Resend`)}
267267- {...createStaticClick(() => {
268268- void handleSendEmail()
269269- })}>
262262+ <SimpleInlineLinkText
263263+ label={_(msg`Click here to resend the email`)}
264264+ {...createStaticClick(handleSendEmail)}>
270265 Click here to resend.
271271- </InlineLinkText>
266266+ </SimpleInlineLinkText>
272267 </Trans>
273268 ) : (
274269 <Trans>
275270 Don’t see a code?{' '}
276276- <InlineLinkText
277277- label={_(msg`Resend`)}
278278- {...createStaticClick(() => {
279279- void handleSendEmail()
280280- })}>
271271+ <SimpleInlineLinkText
272272+ label={_(msg`Click here to resend the email`)}
273273+ {...createStaticClick(handleSendEmail)}>
281274 Click here to resend.
282282- </InlineLinkText>
275275+ </SimpleInlineLinkText>
283276 </Trans>
284277 )}{' '}
285278 <Span style={{top: 1}}>
···340333 {currentHandle}
341334 </Span>{' '}
342335 and all associated data. Note that this will affect any other{' '}
343343- <InlineLinkText
344344- label={_(msg`Learn more about the AT Protocol.`)}
345345- style={[a.text_md]}
346346- to="https://bsky.social/about/faq">
336336+ <SimpleInlineLinkText
337337+ to="https://bsky.social/about/faq"
338338+ label={_(msg`AT Protocol FAQ`)}>
347339 AT Protocol
348348- </InlineLinkText>{' '}
340340+ </SimpleInlineLinkText>{' '}
349341 services you use with this account.
350342 </Trans>
351343 </Prompt.DescriptionText>