chore(ui): lint

This commit is contained in:
psychedelicious 2024-04-30 19:44:57 +10:00 committed by Kent Keirsey
parent 8a791d4f16
commit cf1883585d

View File

@ -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) {