Before load not working in child routes
In the before load in the _authed.tsx I have it checking to see if the user is authenticated.
_authed.tsx
But when a unauthed user tries to go to "/dashboard" they don't get the error state unless there is a beforeload on the route (which is the case when I go to "/game-history"), as shown in the video attached.
dashboard.tsx
Do I need a before load for each route? cause to me that seems wrong
0 Replies