Code-the-Change-YYC / hackathon-management-tool

1 stars 0 forks source link

BUG: Registration Screen Incorrect State #78

Open justin-phxm opened 4 months ago

justin-phxm commented 4 months ago

Initial loading of /register page shows this: image

when it should show this: image

When you switch the form mode from login and back to register it works tho...

ideen1 commented 3 months ago

This may be because of the usage of usePathname() from next/navigation instead of next/router. Best fix would be to pass a prop to the login form based on the page to specify what it should show.