chore(ui): lint

This commit is contained in:
psychedelicious 2024-08-27 19:57:02 +10:00
parent 0bf0bca03f
commit af840cedf3
2 changed files with 3 additions and 4 deletions

View File

@ -1,7 +1,3 @@
export const stopPropagation = (e: React.MouseEvent) => {
e.stopPropagation();
};
export const preventDefault = (e: React.MouseEvent) => {
e.preventDefault();
};

View File

@ -504,6 +504,7 @@ const parseControlNetToControlAdapterLayer: MetadataParseFunc<CanvasControlLayer
id: getPrefixedId('control_layer'),
type: 'control_layer',
isEnabled: true,
isLocked: false,
opacity: 1,
name: null,
objects: [],
@ -548,6 +549,7 @@ const parseT2IAdapterToControlAdapterLayer: MetadataParseFunc<CanvasControlLayer
id: getPrefixedId('control_layer'),
type: 'control_layer',
isEnabled: true,
isLocked: false,
opacity: 1,
position: { x: 0, y: 0 },
controlAdapter: {
@ -600,6 +602,7 @@ const parseIPAdapterToIPAdapterLayer: MetadataParseFunc<CanvasIPAdapterState> =
id: getPrefixedId('ip_adapter'),
type: 'ip_adapter',
isEnabled: true,
isLocked: false,
name: null,
ipAdapter: {
model: zModelIdentifierField.parse(ipAdapterModel),