Skip to content

Fix form submit bug and changelog link - #13

Open
RishiGoswami-code wants to merge 1 commit into
rivet-dev:mainfrom
RishiGoswami-code:fix/contact-form-and-changelog
Open

Fix form submit bug and changelog link#13
RishiGoswami-code wants to merge 1 commit into
rivet-dev:mainfrom
RishiGoswami-code:fix/contact-form-and-changelog

Conversation

@RishiGoswami-code

@RishiGoswami-code RishiGoswami-code commented Aug 23, 2026

Copy link
Copy Markdown

PR Summary

Title

Fix contact form submit crash and incorrect changelog link

Summary

This fix addresses a real runtime bug in the marketing contact forms and corrects the footer navigation for the changelog route.

Issue Solved:

#12

Changes made

  • Fixed invalid FormData conversion in the sales and engineer contact forms.
  • Replaced formData.entries().toArray() with Array.from(formData.entries()) to ensure the form data is converted correctly.
  • Corrected the footer changelog link from /blog/ to /changelog/.

Files changed

  • src/components/marketing/talk-to-an-engineer/form.tsx
  • src/components/marketing/sales/form.tsx
  • src/components/Footer.jsx

Why this was needed

The contact forms were throwing at submit time because FormData.entries() does not support .toArray(). This caused the lead capture flow to break. The changelog link was also routing to the wrong section.

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