Skip to content

Commit

Permalink
Fix department reference
Browse files Browse the repository at this point in the history
  • Loading branch information
OlaShabalina authored Mar 26, 2024
1 parent 4d22316 commit 180d399
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pages/form/Suggestions.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,12 @@ export default function Suggestions() {
height={["9em", "5em"]}
/>
<SubmitButton
disabled={!department}
disabled={!incentive}
topMargin={8}
href="/form/Thankyou"
onClick={() =>
setAnswers((prev) => {
const response = { ...prev, department: department };
const response = { ...prev, incentive: incentive };
sendLogs(logMessage("Submit button clicked"));
sendFormResponse(response);
return response;
Expand Down

0 comments on commit 180d399

Please sign in to comment.