Kaynağa Gözat

corrected subscription typo

Abhinav-grd 4 yıl önce
ebeveyn
işleme
f7c1e6912a

+ 1 - 1
src/pages/gallery/components/AlertBanner.tsx

@@ -7,7 +7,7 @@ import errorCodes from 'utils/common/errorCodes';
 export default function AlertBanner({ bannerErrorCode }) {
     let errorMessage;
     switch (bannerErrorCode) {
-        case errorCodes.ERR_NO_ACTIVE_SUBSRICTION:
+        case errorCodes.ERR_NO_ACTIVE_SUBSCRIPTION:
             errorMessage = constants.SUBSCRIPTION_EXPIRED;
             break;
         case errorCodes.ERR_STORAGE_LIMIT_EXCEEDED:

+ 1 - 1
src/utils/common/errorCodes.ts

@@ -1,6 +1,6 @@
 const errorCodes = {
     ERR_STORAGE_LIMIT_EXCEEDED: '426',
-    ERR_NO_ACTIVE_SUBSRICTION: '402',
+    ERR_NO_ACTIVE_SUBSCRIPTION: '402',
     ERR_NO_INTERNET_CONNECTION: '1',
 };