mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
chore(ui): lint
This commit is contained in:
parent
8a791d4f16
commit
cf1883585d
@ -245,10 +245,7 @@ export const controlLayersSlice = createSlice({
|
||||
//#endregion
|
||||
|
||||
//#region CA Layers
|
||||
isFilterEnabledChanged: (
|
||||
state,
|
||||
action: PayloadAction<{ layerId: string; isFilterEnabled: boolean }>
|
||||
) => {
|
||||
isFilterEnabledChanged: (state, action: PayloadAction<{ layerId: string; isFilterEnabled: boolean }>) => {
|
||||
const { layerId, isFilterEnabled } = action.payload;
|
||||
const layer = state.layers.filter(isControlAdapterLayer).find((l) => l.id === layerId);
|
||||
if (layer) {
|
||||
|
Loading…
Reference in New Issue
Block a user