chore(a11y): pass labelConfig state through store updater

This commit is contained in:
Abbey Yacoe
2025-05-21 12:21:59 +02:00
parent ee8709b5fb
commit 54fc3c0717
7 changed files with 6 additions and 32 deletions
-5
View File
@@ -371,11 +371,6 @@ const createStore = ({
},
reset: () => set({ ...getInitialState() }),
updateLabelConfig: (newLabelConfig: Partial<LabelConfig>) => {
set((state) => ({
labelConfig: { ...state.labelConfig, ...newLabelConfig },
}));
},
};
}, Object.is);