diff --git a/src/components/Upload/Uploader.tsx b/src/components/Upload/Uploader.tsx index bd9c2ea77..76a7f49dc 100644 --- a/src/components/Upload/Uploader.tsx +++ b/src/components/Upload/Uploader.tsx @@ -452,23 +452,18 @@ export default function Uploader(props: Props) { case CustomError.SUBSCRIPTION_EXPIRED: notification = { variant: 'danger', - message: constants.SUBSCRIPTION_EXPIRED, - action: { - text: constants.RENEW_NOW, - callback: () => - billingService.redirectToCustomerPortal(), - }, + subtext: constants.SUBSCRIPTION_EXPIRED, + message: constants.RENEW_NOW, + onClick: () => billingService.redirectToCustomerPortal(), }; break; case CustomError.STORAGE_QUOTA_EXCEEDED: notification = { variant: 'danger', - message: constants.STORAGE_QUOTA_EXCEEDED, - action: { - text: constants.UPGRADE_NOW, - callback: galleryContext.showPlanSelectorModal, - }, - icon: , + subtext: constants.STORAGE_QUOTA_EXCEEDED, + message: constants.UPGRADE_NOW, + onClick: () => galleryContext.showPlanSelectorModal, + startIcon: , }; break; default: