From 82d3e3c5f4848ec1871c3a3b88abb9fe07e0e3e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?marcin=20miko=C5=82ajczak?= Date: Mon, 26 Dec 2022 17:34:55 +0100 Subject: [PATCH] Remove unused styles MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: marcin mikołajczak --- .../components/account-authorize.tsx | 43 ++++----- app/styles/accounts.scss | 40 --------- app/styles/application.scss | 1 - app/styles/components/account-header.scss | 24 ----- app/styles/components/modal.scss | 6 -- app/styles/components/status.scss | 88 ------------------- app/styles/ui.scss | 5 -- 7 files changed, 22 insertions(+), 185 deletions(-) delete mode 100644 app/styles/components/account-header.scss diff --git a/app/soapbox/features/follow-requests/components/account-authorize.tsx b/app/soapbox/features/follow-requests/components/account-authorize.tsx index 430a0d49f..b73d0a719 100644 --- a/app/soapbox/features/follow-requests/components/account-authorize.tsx +++ b/app/soapbox/features/follow-requests/components/account-authorize.tsx @@ -1,13 +1,10 @@ import React, { useCallback } from 'react'; import { defineMessages, useIntl } from 'react-intl'; import { useDispatch } from 'react-redux'; -import { Link } from 'react-router-dom'; import { authorizeFollowRequest, rejectFollowRequest } from 'soapbox/actions/accounts'; -import Avatar from 'soapbox/components/avatar'; -import DisplayName from 'soapbox/components/display-name'; -import IconButton from 'soapbox/components/icon-button'; -import { Text } from 'soapbox/components/ui'; +import Account from 'soapbox/components/account'; +import { Button, HStack } from 'soapbox/components/ui'; import { useAppSelector } from 'soapbox/hooks'; import { makeGetAccount } from 'soapbox/selectors'; @@ -38,24 +35,28 @@ const AccountAuthorize: React.FC = ({ id }) => { if (!account) return null; - const content = { __html: account.note_emojified }; - return ( -
-
- -
- - - - -
- -
-
-
+ +
+
-
+ +