Rob Harding
Results
3
comments of
Rob Harding
forgot- both files will now need "use client"; on the first line because we are using the onClick hook.
This broke navigation when opening a modal from the sign up/sign in page, as closing the modal would take you to where you were before that page(not the page itself).
Instead of onClick, the SignIn and SignUp can use the replace property to replace the current route in the case it's already on a modal.