fix(ROIThreshold): fix setWeight not updating properly for ROIThreshold panel (#3315)

This commit is contained in:
dxlin authored and GitHub committed 2023-04-06 14:05:46 -04:00
1 parent d3da969d23
commit 1173e7de6c
1 file changed
+3 -1
@@ -72,7 +72,9 @@ function ROIThresholdConfiguration({ config, dispatch, runCommand }) {
onChange={e => {
dispatch({
type: 'setWeight',
payload: e.target.value,
payload: {
weight: e.target.value,
},
});
}}
/>