Setup yarn install Development Start the development server on http://localhost:3000 yarn dev Bug reproduction Go to /login You will be redirected to /dashboard, but the page will be blank. You will also get a warning in the console.