Commit 2e796d6
authored
🤖 fix: prevent Tooltip controlled/uncontrolled switch in DiffIndicator (#1147)
The Tooltip in DiffIndicator was conditionally spreading `{ open: false
}` when dragging/selecting and `{}` otherwise, causing React to warn
about switching between controlled and uncontrolled modes.
Fix by always passing the `open` prop with `undefined` for default
behavior.
---
_Generated with `mux` • Model: `anthropic:claude-opus-4-5` • Thinking:
`high`_1 parent 200025b commit 2e796d6
File tree
1 file changed
+1
-1
lines changed1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
901 | 901 | | |
902 | 902 | | |
903 | 903 | | |
904 | | - | |
| 904 | + | |
905 | 905 | | |
906 | 906 | | |
907 | 907 | | |
| |||
0 commit comments