Skip to content

Commit 0c9434c

Browse files
chore(ui): lint
1 parent 8771de9 commit 0c9434c

File tree

20 files changed

+13
-530
lines changed

20 files changed

+13
-530
lines changed
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
export const STORAGE_PREFIX = '@@invokeai-';
22
export const EMPTY_ARRAY = [];
3-
/** @knipignore */
43
export const EMPTY_OBJECT = {};

invokeai/frontend/web/src/common/components/IAIFillSkeleton.tsx

Lines changed: 0 additions & 24 deletions
This file was deleted.

invokeai/frontend/web/src/common/components/IAIImageFallback.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import type { ImageDTO } from 'services/api/types';
66

77
type Props = { image: ImageDTO | undefined };
88

9-
export const IAILoadingImageFallback = memo((props: Props) => {
9+
const IAILoadingImageFallback = memo((props: Props) => {
1010
if (props.image) {
1111
return (
1212
<Skeleton

invokeai/frontend/web/src/common/components/ImageMetadataOverlay.tsx

Lines changed: 0 additions & 28 deletions
This file was deleted.

invokeai/frontend/web/src/common/components/ImageUploadOverlay.tsx

Lines changed: 0 additions & 89 deletions
This file was deleted.

invokeai/frontend/web/src/common/components/UploadButton.tsx

Whitespace-only changes.

invokeai/frontend/web/src/common/hooks/useFullscreenDropzone.ts

Lines changed: 0 additions & 124 deletions
This file was deleted.

invokeai/frontend/web/src/common/hooks/useNanoid.ts

Lines changed: 0 additions & 14 deletions
This file was deleted.

invokeai/frontend/web/src/features/controlLayers/hooks/useEntitySelectionColor.ts

Lines changed: 0 additions & 27 deletions
This file was deleted.

invokeai/frontend/web/src/features/controlLayers/store/types.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -553,10 +553,6 @@ export const getEntityIdentifier = <T extends CanvasEntityType>(
553553
return { id: entity.id, type: entity.type };
554554
};
555555

556-
export const entityIdentifierToString = (entityIdentifer: CanvasEntityIdentifier): string => {
557-
return `${entityIdentifer.type}-${entityIdentifer.id}`;
558-
};
559-
560556
export const isMaskEntityIdentifier = (
561557
entityIdentifier: CanvasEntityIdentifier
562558
): entityIdentifier is CanvasEntityIdentifier<'inpaint_mask' | 'regional_guidance'> => {

0 commit comments

Comments
 (0)