Skip to content

Commit

Permalink
[SPT-836] fixed error on payment popup
Browse files Browse the repository at this point in the history
  • Loading branch information
Marina Fedyantceva committed Jan 29, 2025
1 parent 050d570 commit 3c0312c
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,10 @@ const PaymentPopup = ({ classes, isVisible, handleClose, paymentModalType }) =>

const progressBarDataByType = progressBarData[paymentModalType];

if (!paymentModalType) {
return null;
}

return (
<SNETDialog isDialogOpen={isVisible} onDialogClose={handleCancel} showCloseButton={true} title={title}>
<div className={classes.paymentPopupContainer}>
Expand Down

0 comments on commit 3c0312c

Please sign in to comment.