I have a PrivateRoute component that protects any route requiring a valid login in the app. I have a route called Spec.tsx that is called from
PrivateRoute
Spec.tsx