Skip to content

Commit

Permalink
fixup! fixup! feat: #2282 Warn when safety_checks are disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
goodhoko committed May 3, 2021
1 parent 6607e36 commit 1537c96
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions packages/suite/src/components/suite/Banners/SafetyChecks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,11 @@ const SafetyChecksBanner = (props: Props) => {
'data-test': '@banner/safety-checks/button',
}}
dismissal={
props.onDismiss !== undefined && {
onClick: props.onDismiss,
'data-test': '@banner/safety-checks/dismiss',
} || undefined
(props.onDismiss !== undefined && {
onClick: props.onDismiss,
'data-test': '@banner/safety-checks/dismiss',
}) ||
undefined
}
/>
);
Expand Down

0 comments on commit 1537c96

Please sign in to comment.