next.js
next.js copied to clipboard
StylingNav does not handle redirect to home page correctly. Fixed it…
Bug
browse to localhost:3000 navigating to bottom of left menu "CSS and CSS-in-JS" Click button "Global CSS" Click Home button to the left of "Global CSS" - crash with bad redirect
Fixed by following the same style as Hooks menu on side bar. That is, don't include /Home route in array but make that special case.