Closed prajjwalkapoor closed 12 months ago
I would like to work on this issue. I will simply create a userProtectedRoute component which will redirect the user to home page if they are not logged in otherwise rendered the wrapped Component .
@Pratik2026 sure
Is your feature request related to a problem? Please describe.
Some routes like
/checkout
should be protected if the user is not logged in. Design a component that will act as a wrapper to a page and redirects users to the home page if they are not logged in.For Example:
Describe the solution you'd like
NA
Describe alternatives you've considered
No response
Developer Help
No response