Skip to content

Commit

Permalink
fixed paperwork delete modal to be inline with other modals
Browse files Browse the repository at this point in the history
  • Loading branch information
didvi committed May 27, 2020
1 parent 3308c80 commit 66c3037
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions app/javascript/components/PaperworkForm/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,14 @@ function PaperworkForm({
<DialogTitle>Are you sure you want to delete this paperwork?</DialogTitle>
<DialogActions>
<Button
onClick={() => setDeleteModal(false)}
variant="contained"
color="primary"
>
Cancel
</Button>
<Button
color="secondary"
variant="contained"
type="submit"
onClick={handleDelete}
Expand Down

0 comments on commit 66c3037

Please sign in to comment.