Commit cd8d6d18 by zhaochengxiang

bug fix

parent 788754b9
......@@ -789,12 +789,6 @@ export const Range = React.forwardRef(function ({ type, task }, ref) {
setAdding(false)
}
const onRangeDeleteClick = (index) => {
// const newRanges = [...ranges??[]]
// newRanges.splice(index, 1)
// setRanges(newRanges)
}
rangesRef.current = ranges
return (
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment