Commit 817ad09
authored
fix: resolve react-is version mismatch and .gitattributes syntax error (#2650)
Override react-is to v19.2.4 via pnpm overrides to fix CounterLabel
crash. react-is@18.3.1 checks for Symbol(react.element) but React 19
uses Symbol(react.transitional.element), causing isElement() to return
false in @primer/react's ButtonBase and blow up at runtime.
Also fix .gitattributes syntax error from stray merge conflict marker.1 parent 61965fd commit 817ad09
3 files changed
Lines changed: 10 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
140 | | - | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
141 | 144 | | |
142 | 145 | | |
143 | 146 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments