Skip to content

Commit

Permalink
Switched confirm button to be on the left of cancel button in the Con…
Browse files Browse the repository at this point in the history
…firmModal
  • Loading branch information
jthet committed Feb 1, 2024
1 parent 01e2e32 commit 6dd9c9d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/tapis-ui/_common/ConfirmModal/ConfirmModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,18 +40,18 @@ const ConfirmModal: React.FC<ConfirmModalProps> = ({
color="primary"
aria-label="Submit"
type="submit"
onClick={onConfirm}
onClick={toggle}
>
Confirm
Cancel
</Button>
<Button
form="newsystem-form"
color="primary"
aria-label="Submit"
type="submit"
onClick={toggle}
onClick={onConfirm}
>
Cancel
Confirm
</Button>
</SubmitWrapper>
}
Expand Down

0 comments on commit 6dd9c9d

Please sign in to comment.