Closed aliciusschroeder closed 3 weeks ago
@aliciusschroeder is attempting to deploy a commit to the Moinul Moin's projects Team on Vercel.
A member of the Team first needs to authorize it.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
chadnext | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jul 7, 2024 1:09pm |
Description: This PR addresses the issue where closing the login modal redirects users to the main page. The change ensures that users remain on the current page after closing the dialog, providing a more intuitive user experience. This PR fixes #237
Changes:
onOpenChange
inLoginModal
component to userouter.back()
instead ofrouter.push("/")
.Affected Files:
src/components/layout/login-modal.tsx
Testing: