diff --git a/client/src/components/settings/danger-zone.tsx b/client/src/components/settings/danger-zone.tsx index 3ca233acb02..c795c269e9c 100644 --- a/client/src/components/settings/danger-zone.tsx +++ b/client/src/components/settings/danger-zone.tsx @@ -12,11 +12,11 @@ import ResetModal from './reset-modal'; import './danger-zone.css'; -type DangerZoneProps = { +interface DangerZoneProps { deleteAccount: () => void; resetProgress: () => void; t: TFunction; -}; +} const mapStateToProps = () => ({}); const mapDispatchToProps = (dispatch: Dispatch) => @@ -42,50 +42,48 @@ function DangerZone({ deleteAccount, resetProgress, t }: DangerZoneProps) { } return ( -
- - - {t('settings.danger.heading')} + + + {t('settings.danger.heading')} + +

{t('settings.danger.be-careful')}

+ + + + -

{t('settings.danger.be-careful')}

- - - - - - -
+
+
- - -
-
+ + + ); }