Skip to content

Commit

Permalink
Switch submit and reset button styles
Browse files Browse the repository at this point in the history
  • Loading branch information
Keskimaki committed Mar 17, 2023
1 parent 7770688 commit a8e6722
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/components/InteractiveForm/RenderSurvey.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,14 +91,14 @@ const RenderSurvey = ({ control, watch, handleSubmit }: InputProps) => {
<Button
type="submit"
data-cy="submit-form-button"
variant="contained"
onClick={submitFormData}
>
{t('submit')}
</Button>
<Button
type="button"
data-cy="reset-form-button"
variant="contained"
onClick={resetForm}
>
{t('reset')}
Expand Down

0 comments on commit a8e6722

Please sign in to comment.