chore(ui): lint

This commit is contained in:
psychedelicious 2024-04-30 13:11:07 +10:00 committed by Kent Keirsey
parent 2af5c4be9f
commit 22bd33b7c6
5 changed files with 4 additions and 13 deletions

View File

@ -1,6 +1,6 @@
import { Button, Menu, MenuButton, MenuItem, MenuList } from '@invoke-ai/ui-library';
import { useAppDispatch } from 'app/store/storeHooks';
import { guidanceLayerAdded } from 'app/store/middleware/listenerMiddleware/listeners/regionalControlToControlAdapterBridge';
import { useAppDispatch } from 'app/store/storeHooks';
import { memo, useCallback } from 'react';
import { useTranslation } from 'react-i18next';
import { PiPlusBold } from 'react-icons/pi';

View File

@ -11,12 +11,7 @@ import {
} from 'features/regionalPrompts/store/regionalPromptsSlice';
import { memo, useCallback, useMemo } from 'react';
import { useTranslation } from 'react-i18next';
import {
PiArrowDownBold,
PiArrowLineDownBold,
PiArrowLineUpBold,
PiArrowUpBold,
} from 'react-icons/pi';
import { PiArrowDownBold, PiArrowLineDownBold, PiArrowLineUpBold, PiArrowUpBold } from 'react-icons/pi';
import { assert } from 'tsafe';
type Props = { layerId: string };

View File

@ -584,7 +584,6 @@ export const TOOL_PREVIEW_BRUSH_BORDER_OUTER_ID = 'tool_preview_layer.brush_bord
export const TOOL_PREVIEW_RECT_ID = 'tool_preview_layer.rect';
export const BACKGROUND_LAYER_ID = 'background_layer';
export const BACKGROUND_RECT_ID = 'background_layer.rect';
export const CONTROLNET_LAYER_TRANSFORMER_ID = 'control_adapter_layer.transformer';
// Names (aka classes) for Konva layers and objects
export const CONTROLNET_LAYER_NAME = 'control_adapter_layer';

View File

@ -32,12 +32,12 @@ export type VectorMaskRect = {
height: number;
};
export type LayerBase = {
type LayerBase = {
id: string;
isEnabled: boolean;
};
export type RenderableLayerBase = LayerBase & {
type RenderableLayerBase = LayerBase & {
x: number;
y: number;
bbox: IRect | null;