From a1dabbdee2ebc6eb526e265aae8ba8114d57dd0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?marcin=20miko=C5=82ajczak?= Date: Thu, 26 Jan 2023 14:44:20 +0100 Subject: [PATCH] Add icon to 'Translate' button MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: marcin mikołajczak --- app/soapbox/components/translate-button.tsx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/app/soapbox/components/translate-button.tsx b/app/soapbox/components/translate-button.tsx index d6059411c..1fa7747a1 100644 --- a/app/soapbox/components/translate-button.tsx +++ b/app/soapbox/components/translate-button.tsx @@ -6,7 +6,7 @@ import { translateStatus, undoStatusTranslation } from 'soapbox/actions/statuses import { useAppDispatch, useAppSelector, useFeatures, useInstance } from 'soapbox/hooks'; import { isLocal } from 'soapbox/utils/accounts'; -import { Stack } from './ui'; +import { Icon, Stack } from './ui'; import type { Account, Status } from 'soapbox/types/entities'; @@ -53,7 +53,8 @@ const TranslateButton: React.FC = ({ status }) => { - @@ -61,7 +62,8 @@ const TranslateButton: React.FC = ({ status }) => { } return ( - );