fix(error-overlay): matching html tag with brackets in hydration error (#63365)
### What * The tags extracted from hydration errors could be "<div>" and "p", we need to stripe the brackets "<>" for matching the tag name from component stack * Change the dimmed text color to lighter so you can see it better in light mode #### After vs Before <img width="450" src="https://github.com/vercel/next.js/assets/4800338/6caed5ac-c073-41cc-a699-eb29f3785d59"> <img width="450" src="https://github.com/vercel/next.js/assets/4800338/926aa80f-2a49-4362-b77e-16b819955b0a"> Closes NEXT-2828
Showing
Please
register
or
sign in
to comment