Upgraded from 6.2.3 to 7.0.0-canary.347 and getting this error:
You must specify an `unauthenticated` route when marking a Route as private
I have to private routes in my Router.tsx - here’s an abbreviated version of it.
Notice that I have specified an unauthenticated route for both of my two private routes. Any idea what I’m doing wrong here?
Ok I figured it out just after posting this (of course).
Apparently the canary has an issue with the nested Set under the Private route
Updated it so that they’re not nested (see below) and everything works as expected.