From b2fe24c40191754214d0aa647b5a4917b3746fb4 Mon Sep 17 00:00:00 2001 From: Mary Hipp Date: Wed, 20 Sep 2023 13:07:42 -0400 Subject: [PATCH] restore text of Invoke button --- .../web/src/features/queue/components/QueueBackButton.tsx | 4 +--- .../web/src/features/queue/components/common/QueueButton.tsx | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/invokeai/frontend/web/src/features/queue/components/QueueBackButton.tsx b/invokeai/frontend/web/src/features/queue/components/QueueBackButton.tsx index 54dfa1ffb8..6e5c1b52a9 100644 --- a/invokeai/frontend/web/src/features/queue/components/QueueBackButton.tsx +++ b/invokeai/frontend/web/src/features/queue/components/QueueBackButton.tsx @@ -1,6 +1,5 @@ import { memo } from 'react'; import { useTranslation } from 'react-i18next'; -import { FaPlus } from 'react-icons/fa'; import { useQueueBack } from '../hooks/useQueueBack'; import EnqueueButtonTooltip from './QueueButtonTooltip'; import QueueButton from './common/QueueButton'; @@ -18,12 +17,11 @@ const QueueBackButton = ({ asIconButton, sx }: Props) => { } - icon={} sx={sx} /> ); diff --git a/invokeai/frontend/web/src/features/queue/components/common/QueueButton.tsx b/invokeai/frontend/web/src/features/queue/components/common/QueueButton.tsx index 29a94e9725..f3ef09f44d 100644 --- a/invokeai/frontend/web/src/features/queue/components/common/QueueButton.tsx +++ b/invokeai/frontend/web/src/features/queue/components/common/QueueButton.tsx @@ -6,7 +6,7 @@ import { ReactElement, ReactNode, memo } from 'react'; type Props = { label: string; tooltip: ReactNode; - icon: ReactElement; + icon?: ReactElement; onClick?: () => void; isDisabled?: boolean; colorScheme: ThemeTypings['colorSchemes'];