Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: redirect preview onsubmit #210

Conversation

atrincas
Copy link
Collaborator

@atrincas atrincas commented Jan 7, 2025

Router Navigation Update for Custom Project Creation

Changes

  • Added router instance as a parameter to onSubmit function
  • Navigation to preview page now happens after successful project creation
  • Updated form submission handling in both header and main component

Jira

Copy link

vercel bot commented Jan 7, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
tnc-blue-carbon-cost-tool-ghps ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 7, 2025 3:05pm

@atrincas atrincas merged commit 247ff18 into dev Jan 8, 2025
3 checks passed
@atrincas atrincas deleted the TBCCT-229-fe-when-a-user-create-a-custom-project-the-values-dont-match-in-preview-page-show-data-form-previous-project branch January 8, 2025 10:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant