Commit 9ac591f
fix(webapp): stop CopyButton nesting a button inside its tooltip trigger
The button variant rendered a real <button> inside the tooltip trigger's own
<button>. The browser parser splits nested buttons apart, so React failed to
hydrate any page showing one. The trigger now adopts the button itself.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent e09b00e commit 9ac591f
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
102 | 107 | | |
103 | 108 | | |
104 | 109 | | |
| |||
0 commit comments