mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-15 14:43:46 +01:00
adding link to delete writefull account on deletion modal (#26974)
GitOrigin-RevId: 6e9dec05a7cecb3013b629bc87b066466db9ed02
This commit is contained in:
committed by
Copybot
parent
698d2aebb1
commit
1083a05d69
@@ -10,8 +10,6 @@ import {
|
||||
OLModalTitle,
|
||||
} from '@/features/ui/components/ol/ol-modal'
|
||||
|
||||
const WRITEFULL_SUPPORT_EMAIL = 'support@writefull.com'
|
||||
|
||||
type LeaveModalContentProps = {
|
||||
handleHide: () => void
|
||||
inFlight: boolean
|
||||
@@ -46,13 +44,16 @@ function LeaveModalContentBlock({
|
||||
/>
|
||||
<p>
|
||||
<Trans
|
||||
i18nKey="to_delete_your_writefull_account"
|
||||
values={{ email: WRITEFULL_SUPPORT_EMAIL }}
|
||||
shouldUnescape
|
||||
tOptions={{ interpolation: { escapeValue: true } }}
|
||||
i18nKey="if_you_need_to_delete_your_writefull_account"
|
||||
components={{
|
||||
// eslint-disable-next-line jsx-a11y/anchor-has-content
|
||||
a: <a href={`mailto:${WRITEFULL_SUPPORT_EMAIL}`} />,
|
||||
a: (
|
||||
// eslint-disable-next-line jsx-a11y/anchor-has-content
|
||||
<a
|
||||
href="https://my.writefull.com/account"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
/>
|
||||
),
|
||||
}}
|
||||
/>
|
||||
</p>
|
||||
|
||||
Reference in New Issue
Block a user