Skip to content

Update the redirect logic/structure

For now, user won't be able to go to a sub-page of /portal via a specific URL, like /portal/org-profile. He/she will be taken to /portal/dashboard anyway.

Need to update the redirect logic/structure to make this work better.

Resources: https://v5.reactrouter.com/web/example/auth-workflow