Manav Rathi 1 سال پیش
والد
کامیت
a086f36433
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      web/apps/photos/src/components/Sidebar/index.tsx

+ 1 - 1
web/apps/photos/src/components/Sidebar/index.tsx

@@ -291,7 +291,7 @@ const SubscriptionStatus: React.FC<SubscriptionStatusProps> = ({
         return <></>;
     }
 
-    let message: React.ReactElement | undefined;
+    let message: React.ReactNode;
     if (!hasAddOnBonus(userDetails.bonusData)) {
         if (isSubscriptionActive(userDetails.subscription)) {
             if (isOnFreePlan(userDetails.subscription)) {