Skip to content

Commit

Permalink
add placeholder to payment-alert widget in case of empty alert image
Browse files Browse the repository at this point in the history
  • Loading branch information
stCarolas committed Feb 6, 2024
1 parent 6ad3590 commit ad16ace
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ export default function AlertImage({
{image && (
<img src={image} style={style} className={classes.alertimage} />
)}
{!image && (
<div style={{ height: "40%", flex: "0 1 auto"}}></div>
)}
</>
);
}

0 comments on commit ad16ace

Please sign in to comment.