restore text of Invoke button

This commit is contained in:
Mary Hipp 2023-09-20 13:07:42 -04:00
parent f7f0630d97
commit b2fe24c401
2 changed files with 2 additions and 4 deletions

View File

@ -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) => {
<QueueButton
asIconButton={asIconButton}
colorScheme="accent"
label={t('queue.queueBack')}
label={t('parameters.invoke.invoke')}
isDisabled={isDisabled}
isLoading={isLoading}
onClick={queueBack}
tooltip={<EnqueueButtonTooltip />}
icon={<FaPlus />}
sx={sx}
/>
);

View File

@ -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'];