diff --git a/examples/react/expanding/src/main.tsx b/examples/react/expanding/src/main.tsx index 0b1bcad384..7df7fca14c 100644 --- a/examples/react/expanding/src/main.tsx +++ b/examples/react/expanding/src/main.tsx @@ -321,7 +321,7 @@ function IndeterminateCheckbox({ if (typeof indeterminate === 'boolean') { ref.current.indeterminate = !rest.checked && indeterminate } - }, [ref, indeterminate]) + }, [indeterminate]) return (