Skip to content

Commit

Permalink
fix: remove condition to display save button (#1242)
Browse files Browse the repository at this point in the history
  • Loading branch information
CatiaAntunes96 authored Mar 14, 2023
1 parent 0109034 commit 6cf1f8a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const Footer = (props: FooterProps) => {
<Button variant="primaryOutline" onClick={handleClose} type="button">
Cancel
</Button>
{handleAffirmative && affirmativeLabel && (
{affirmativeLabel && (
<Button onClick={handleAffirmative} ref={buttonRef} data-testid="dialogFooterSubmit">
{affirmativeLabel}
</Button>
Expand Down

0 comments on commit 6cf1f8a

Please sign in to comment.