Closed mmrath closed 4 years ago
Hey @mmrath, I cannot reproduce the bug. I've tried the example in firefox and chrome and it works as expected. Did you modify the example in any other way?
@mefechoel I tried it again just now and it worked. Sorry for the noise, I must have done something wrong.
Thanks for your work on this.
Describe the bug I was looking at the private-routes example. Once you start the serve and navigate to
http://localhost:<port>/profile
, it does not render the login page, event though the url changes tohttp://localhost:<port>/login
.I moved code in
PrivateRouteGaurd
toonMount
that appeared to work. But I am not sure if that is correct.To Reproduce Steps to reproduce the behavior:
http://localhost:<port>/profile
once you startprivate-routes
example