diff --git a/src/features/admin/components/unapproved-account.tsx b/src/features/admin/components/unapproved-account.tsx index 1b9d6d6d3..503fb513e 100644 --- a/src/features/admin/components/unapproved-account.tsx +++ b/src/features/admin/components/unapproved-account.tsx @@ -2,8 +2,8 @@ import React from 'react'; import { approveUsers, deleteUsers } from 'soapbox/actions/admin'; import { useAccount } from 'soapbox/api/hooks'; +import Account from 'soapbox/components/account'; import { AuthorizeRejectButtons } from 'soapbox/components/authorize-reject-buttons'; -import { Stack, HStack, Text } from 'soapbox/components/ui'; import { useAppSelector, useAppDispatch } from 'soapbox/hooks'; interface IUnapprovedAccount { @@ -23,24 +23,18 @@ const UnapprovedAccount: React.FC = ({ accountId }) => { const handleReject = () => dispatch(deleteUsers([account.id])); return ( - - - - @{account.acct} - - - {adminAccount?.invite_request || ''} - - - - + - - + )} + /> ); }; diff --git a/src/features/follow-requests/components/account-authorize.tsx b/src/features/follow-requests/components/account-authorize.tsx index c6bc74a07..5abb8671a 100644 --- a/src/features/follow-requests/components/account-authorize.tsx +++ b/src/features/follow-requests/components/account-authorize.tsx @@ -27,7 +27,7 @@ const AccountAuthorize: React.FC = ({ id }) => { } />