From 577e4a46406236e61bc035ce7ce26fb30c39e5f4 Mon Sep 17 00:00:00 2001 From: walesch-yan Date: Thu, 4 Sep 2025 14:41:30 +0200 Subject: [PATCH] remove unused uiproperties action --- ui/src/actions/uiproperties.js | 3 --- ui/src/reducers/uiproperties.js | 3 --- 2 files changed, 6 deletions(-) delete mode 100644 ui/src/actions/uiproperties.js diff --git a/ui/src/actions/uiproperties.js b/ui/src/actions/uiproperties.js deleted file mode 100644 index 366fc05fa..000000000 --- a/ui/src/actions/uiproperties.js +++ /dev/null @@ -1,3 +0,0 @@ -export function setUiProperties(data) { - return { type: 'SET_UI_PROPERTIES', data }; -} diff --git a/ui/src/reducers/uiproperties.js b/ui/src/reducers/uiproperties.js index c252967e9..eabfc56ca 100644 --- a/ui/src/reducers/uiproperties.js +++ b/ui/src/reducers/uiproperties.js @@ -4,9 +4,6 @@ const INITIAL_STATE = {}; function uiPropertiesReducer(state = INITIAL_STATE, action = {}) { switch (action.type) { - case 'SET_UI_PROPERTIES': { - return { ...state, ...action.data }; - } /* `uiproperties` is a server state so it should ideally not be modified locally. * We make an exception here until motor steps can be updated on the server. */ case 'SET_MOTOR_STEP': {