Skip to content

Commit

Permalink
after code review
Browse files Browse the repository at this point in the history
  • Loading branch information
anistouri committed Nov 3, 2023
1 parent bb562d8 commit 4196d79
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/react-hook-form/utils/cancel-button.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ const CancelButton = ({
onClick,
variant,
disabled,
withCustomColor = false,
withCustomColor = true,
}) => {
return (
<Button
onClick={onClick}
variant={variant}
disabled={disabled}
color={withCustomColor ? 'primary' : 'customButton'}
color={withCustomColor ? 'customButton' : 'primary'}
>
<FormattedMessage id="cancel" />
</Button>
Expand Down

0 comments on commit 4196d79

Please sign in to comment.