Problemunvalidated
PrivateRoutes conditionally returns a function/JSX in a way that triggers a React warning about returning a function or performing side effects during render. The component is also trying to log out users based on token expiration.
33078b10-df0b-4f96-9d9f-f7731e3ee0ee
PrivateRoutes conditionally returns a function/JSX in a way that triggers a React warning about returning a function or performing side effects during render. The component is also trying to log out users based on token expiration.