Programmatic Navigation Not Working

Hello. I have followed Mosh’s tutorial exactly (as far as I can tell), but for some reason, in the routing and navigation section of the tutorial, more specifically in the programmatic navigation video, my version that I am developing myself isn’t redirecting the client back to the users page when the button is pressed, even though my users/new/page.tsx file is identical to Mosh’s. Why could this be?

If anyone would be willing to look at my code and help me debug this, I would greatly appreciate it! https://github.com/stevesarb/next-js-tutorial

Well, I seem to have figured it out. I built the app for production, and then ran it again in development mode, and the programmatic navigation worked.