/* * SPDX-FileCopyrightText: 2022 The HedgeDoc developers (see AUTHORS file) * * SPDX-License-Identifier: AGPL-3.0-only */ import React, { Fragment } from 'react' import { Button, Card } from 'react-bootstrap' import { Trans, useTranslation } from 'react-i18next' import { ForkAwesomeIcon } from '../../common/fork-awesome/fork-awesome-icon' import { AccountDeletionModal } from './account-deletion-modal' import { useBooleanState } from '../../../hooks/common/use-boolean-state' /** * Profile page section that allows to export all data from the account or to delete the account. */ export const ProfileAccountManagement: React.FC = () => { useTranslation() const [modalVisibility, showModal, closeModal] = useBooleanState() return ( ) }