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:
@@ -9,30 +9,24 @@ import {
|
||||
} from 'services/api/endpoints/queue';
|
||||
|
||||
export const useIsQueueMutationInProgress = () => {
|
||||
const [_triggerEnqueueBatch, { isLoading: isLoadingEnqueueBatch }] =
|
||||
useEnqueueBatchMutation({
|
||||
fixedCacheKey: 'enqueueBatch',
|
||||
});
|
||||
const [_triggerResumeProcessor, { isLoading: isLoadingResumeProcessor }] =
|
||||
useResumeProcessorMutation({
|
||||
fixedCacheKey: 'resumeProcessor',
|
||||
});
|
||||
const [_triggerPauseProcessor, { isLoading: isLoadingPauseProcessor }] =
|
||||
usePauseProcessorMutation({
|
||||
fixedCacheKey: 'pauseProcessor',
|
||||
});
|
||||
const [_triggerCancelQueue, { isLoading: isLoadingCancelQueue }] =
|
||||
useCancelQueueItemMutation({
|
||||
fixedCacheKey: 'cancelQueueItem',
|
||||
});
|
||||
const [_triggerClearQueue, { isLoading: isLoadingClearQueue }] =
|
||||
useClearQueueMutation({
|
||||
fixedCacheKey: 'clearQueue',
|
||||
});
|
||||
const [_triggerPruneQueue, { isLoading: isLoadingPruneQueue }] =
|
||||
usePruneQueueMutation({
|
||||
fixedCacheKey: 'pruneQueue',
|
||||
});
|
||||
const [_triggerEnqueueBatch, { isLoading: isLoadingEnqueueBatch }] = useEnqueueBatchMutation({
|
||||
fixedCacheKey: 'enqueueBatch',
|
||||
});
|
||||
const [_triggerResumeProcessor, { isLoading: isLoadingResumeProcessor }] = useResumeProcessorMutation({
|
||||
fixedCacheKey: 'resumeProcessor',
|
||||
});
|
||||
const [_triggerPauseProcessor, { isLoading: isLoadingPauseProcessor }] = usePauseProcessorMutation({
|
||||
fixedCacheKey: 'pauseProcessor',
|
||||
});
|
||||
const [_triggerCancelQueue, { isLoading: isLoadingCancelQueue }] = useCancelQueueItemMutation({
|
||||
fixedCacheKey: 'cancelQueueItem',
|
||||
});
|
||||
const [_triggerClearQueue, { isLoading: isLoadingClearQueue }] = useClearQueueMutation({
|
||||
fixedCacheKey: 'clearQueue',
|
||||
});
|
||||
const [_triggerPruneQueue, { isLoading: isLoadingPruneQueue }] = usePruneQueueMutation({
|
||||
fixedCacheKey: 'pruneQueue',
|
||||
});
|
||||
// const [_triggerCancelByBatchIds, { isLoading: isLoadingCancelByBatchIds }] =
|
||||
// useCancelByBatchIdsMutation({
|
||||
// fixedCacheKey: 'cancelByBatchIds',
|
||||
|
||||
Reference in New Issue
Block a user