diff --git a/src/pages/gallery/components/AlertBanner.tsx b/src/pages/gallery/components/AlertBanner.tsx index 33e251ba8..7bd10556d 100644 --- a/src/pages/gallery/components/AlertBanner.tsx +++ b/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: diff --git a/src/utils/common/errorCodes.ts b/src/utils/common/errorCodes.ts index d1fd4d0d5..42a1fb435 100644 --- a/src/utils/common/errorCodes.ts +++ b/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', };