Skip to content
This repository has been archived by the owner on May 7, 2021. It is now read-only.

Commit

Permalink
Fix cancel button (patch)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jorge Cuadra committed Sep 21, 2018
1 parent 07b2464 commit 42a9f06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/recipes/RecipeForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ const RecipeForm = ({ recipe = {}, onCancel, onSave }) => {
})}
</div>
<footer className="recipeFormFooter pr-4 mb-4">
<Button className="mr-4" onClick={onCancel}>
<Button type="reset" className="mr-4" onClick={onCancel}>
cancel
</Button>
<Button type="submit" raised disabled={isSubmitting}>
Expand Down

0 comments on commit 42a9f06

Please sign in to comment.