From d653c451b6ec6152ab997bae08df477c8a1b8437 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Sun, 11 Sep 2022 12:33:33 -0500 Subject: [PATCH] AccountModerationModal: add account preview --- .../modals/account-moderation-modal.tsx | 28 +++++++++++++------ 1 file changed, 20 insertions(+), 8 deletions(-) diff --git a/app/soapbox/features/ui/components/modals/account-moderation-modal.tsx b/app/soapbox/features/ui/components/modals/account-moderation-modal.tsx index 47b321d99..84c7c824d 100644 --- a/app/soapbox/features/ui/components/modals/account-moderation-modal.tsx +++ b/app/soapbox/features/ui/components/modals/account-moderation-modal.tsx @@ -1,8 +1,9 @@ import React from 'react'; import { FormattedMessage } from 'react-intl'; +import Account from 'soapbox/components/account'; import MissingIndicator from 'soapbox/components/missing_indicator'; -import { Button, HStack, Modal } from 'soapbox/components/ui'; +import { Button, HStack, Modal, Stack } from 'soapbox/components/ui'; import { useAppSelector, useFeatures } from 'soapbox/hooks'; import { makeGetAccount } from 'soapbox/selectors'; @@ -39,13 +40,24 @@ const AccountModerationModal: React.FC = ({ onClose, ac title={} onClose={handleClose} > - {features.adminFE && ( - - - - )} + +
+ +
+ + {features.adminFE && ( + + + + )} +
); };