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 //#endregion
//#region CA Layers //#region CA Layers
isFilterEnabledChanged: ( isFilterEnabledChanged: (state, action: PayloadAction<{ layerId: string; isFilterEnabled: boolean }>) => {
state,
action: PayloadAction<{ layerId: string; isFilterEnabled: boolean }>
) => {
const { layerId, isFilterEnabled } = action.payload; const { layerId, isFilterEnabled } = action.payload;
const layer = state.layers.filter(isControlAdapterLayer).find((l) => l.id === layerId); const layer = state.layers.filter(isControlAdapterLayer).find((l) => l.id === layerId);
if (layer) { if (layer) {