Skip to content

Commit

Permalink
fix(legacy-plugin-chart-sunburst): chart broken when secondary metric…
Browse files Browse the repository at this point in the history
… is remove
  • Loading branch information
stephenLYZ committed May 31, 2022
1 parent c8fe518 commit b5e0d29
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -237,9 +237,9 @@ export const DndMetricSelect = (props: any) => {
const valuesCopy = [...value];
valuesCopy.splice(index, 1);
setValue(valuesCopy);
onChange(valuesCopy);
handleChange(valuesCopy);
},
[onChange, value],
[handleChange, value],
);

const moveLabel = useCallback(
Expand Down

0 comments on commit b5e0d29

Please sign in to comment.