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': {