Skip to content

Enhance JoinPage routing and improve error handling for submissions#1593

Merged
cannarocks merged 2 commits into
masterfrom
develop
Apr 20, 2026
Merged

Enhance JoinPage routing and improve error handling for submissions#1593
cannarocks merged 2 commits into
masterfrom
develop

Conversation

@cannarocks
Copy link
Copy Markdown
Member

This pull request improves the user experience and error handling in the join flow. The main changes include enhancing routing to preserve search parameters during redirects and improving logging for HubSpot API errors.

Routing improvements:

  • Added a DefaultRedirect component in src/pages/JoinPage/index.tsx to ensure that when users are redirected to the signup page, any search parameters in the URL are preserved. This helps maintain important context.
  • Updated the catch-all route in JoinPage to use the new DefaultRedirect component instead of a basic redirect, further ensuring search parameters are not lost.

Error handling improvements:

  • Added explicit console.error logging (with ESLint disables) for both HubSpot API errors and general exceptions in sendToHubspot, making debugging easier.

cannarocks and others added 2 commits April 20, 2026 14:13
Enhance JoinPage routing and improve HubSpot submission error handling
@cannarocks cannarocks merged commit 60ee0c4 into master Apr 20, 2026
21 checks passed
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