Skip to content

Commit

Permalink
When editing an assertion, the 'Add' button should say 'Save'
Browse files Browse the repository at this point in the history
  • Loading branch information
cescoferraro committed May 25, 2022
1 parent df8f6e8 commit a0c919b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/components/AssertionForm/AssertionForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ const AssertionForm: React.FC<TAssertionFormProps> = ({
<S.AssertionFromActions>
<Button onClick={onCancel}>Cancel</Button>
<Button type="primary" onClick={form.submit} data-cy="assertion-form-submit-button">
Add
{isEditing ? 'Save' : 'Add'}
</Button>
</S.AssertionFromActions>
</Form>
Expand Down

0 comments on commit a0c919b

Please sign in to comment.