mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(ui): remove unnecessary fragments
This commit is contained in:
parent
d902533387
commit
2a081b0a27
@ -19,7 +19,6 @@ const ClearQueueIconButton = ({
|
|||||||
const { isLoading, isDisabled } = useClearQueue();
|
const { isLoading, isDisabled } = useClearQueue();
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
|
||||||
<InvIconButton
|
<InvIconButton
|
||||||
isDisabled={isDisabled}
|
isDisabled={isDisabled}
|
||||||
isLoading={isLoading}
|
isLoading={isLoading}
|
||||||
@ -31,7 +30,6 @@ const ClearQueueIconButton = ({
|
|||||||
data-testid={t('queue.clear')}
|
data-testid={t('queue.clear')}
|
||||||
{...props}
|
{...props}
|
||||||
/>
|
/>
|
||||||
</>
|
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -41,7 +39,6 @@ const ClearSingleQueueItemIconButton = (props: Props) => {
|
|||||||
useCancelCurrentQueueItem();
|
useCancelCurrentQueueItem();
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
|
||||||
<InvIconButton
|
<InvIconButton
|
||||||
isDisabled={isDisabled}
|
isDisabled={isDisabled}
|
||||||
isLoading={isLoading}
|
isLoading={isLoading}
|
||||||
@ -53,7 +50,6 @@ const ClearSingleQueueItemIconButton = (props: Props) => {
|
|||||||
data-testid={t('queue.cancel')}
|
data-testid={t('queue.cancel')}
|
||||||
{...props}
|
{...props}
|
||||||
/>
|
/>
|
||||||
</>
|
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user