Skip to content

Commit

Permalink
Merge pull request #1270 from near/develop
Browse files Browse the repository at this point in the history
Rudderstack form submissions hotfix
  • Loading branch information
charleslavon authored Jul 28, 2024
2 parents 0d14949 + 1f9ea66 commit 0ec01ba
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export const ExperienceComponent = () => {
nextDisabled: !isDisabled,
currentStepSubmission: { response_developer_experience: devExperience, response_web3_experience: web3Experience },
});
}, [devExperience, set]);
}, [devExperience, set, web3Experience]);

return (
<ExperienceContainer>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export const Motivation = () => {

set({
nextDisabled: !isDisabled,
currentStepSubmission: { response_interests: selectedInterests, other: otherInputEntry },
currentStepSubmission: { response_interests: selectedInterests.join(), other: otherInputEntry },
});
}, [selectedInterests, otherInputEntry, set]);

Expand Down
2 changes: 1 addition & 1 deletion src/components/research-form-wizard/FormPages/UserType.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ const UserTypeComponent = () => {

set({
nextDisabled: !isDisabled,
currentStepSubmission: { response_selected_user_types: selectedTypes, other: otherInputEntry },
currentStepSubmission: { response_selected_user_types: selectedTypes.join(), other: otherInputEntry },
});
}, [selectedTypes, otherInputEntry, set]);

Expand Down

0 comments on commit 0ec01ba

Please sign in to comment.