mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-04-23 03:00:31 -04:00
chore(ui): format
Lots of changed bc the line length is now 120. May as well do it now.
This commit is contained in:
@@ -1,9 +1,5 @@
|
||||
import type { IconButtonProps } from '@invoke-ai/ui-library';
|
||||
import {
|
||||
IconButton,
|
||||
useDisclosure,
|
||||
useShiftModifier,
|
||||
} from '@invoke-ai/ui-library';
|
||||
import { IconButton, useDisclosure, useShiftModifier } from '@invoke-ai/ui-library';
|
||||
import ClearQueueConfirmationAlertDialog from 'features/queue/components/ClearQueueConfirmationAlertDialog';
|
||||
import { useCancelCurrentQueueItem } from 'features/queue/hooks/useCancelCurrentQueueItem';
|
||||
import { useClearQueue } from 'features/queue/hooks/useClearQueue';
|
||||
@@ -16,10 +12,7 @@ type ClearQueueIconButtonProps = ClearQueueButtonProps & {
|
||||
onOpen: () => void;
|
||||
};
|
||||
|
||||
const ClearAllQueueIconButton = ({
|
||||
onOpen,
|
||||
...props
|
||||
}: ClearQueueIconButtonProps) => {
|
||||
const ClearAllQueueIconButton = ({ onOpen, ...props }: ClearQueueIconButtonProps) => {
|
||||
const { t } = useTranslation();
|
||||
const { isLoading, isDisabled } = useClearQueue();
|
||||
|
||||
@@ -40,8 +33,7 @@ const ClearAllQueueIconButton = ({
|
||||
|
||||
const ClearSingleQueueItemIconButton = (props: ClearQueueButtonProps) => {
|
||||
const { t } = useTranslation();
|
||||
const { cancelQueueItem, isLoading, isDisabled } =
|
||||
useCancelCurrentQueueItem();
|
||||
const { cancelQueueItem, isLoading, isDisabled } = useCancelCurrentQueueItem();
|
||||
|
||||
return (
|
||||
<IconButton
|
||||
|
||||
Reference in New Issue
Block a user