diff --git a/src/pages/gallery/components/AlertBanner.tsx b/src/pages/gallery/components/AlertBanner.tsx index d84560ce9..a33af1e2d 100644 --- a/src/pages/gallery/components/AlertBanner.tsx +++ b/src/pages/gallery/components/AlertBanner.tsx @@ -15,8 +15,10 @@ export default function AlertBanner({ bannerErrorCode }) { break; case ERR_STORAGE_LIMIT_EXCEEDED: errorMessage = constants.STORAGE_QUOTA_EXCEEDED; + break; case ERR_NO_INTERNET_CONNECTION: errorMessage = constants.NO_INTERNET_CONNECTION; + break; default: errorMessage = `Unknown Error Code - ${bannerErrorCode} Encountered`; } diff --git a/src/pages/gallery/components/CreateCollection.tsx b/src/pages/gallery/components/CreateCollection.tsx index 2ddaf2ef0..fc7a2e49c 100644 --- a/src/pages/gallery/components/CreateCollection.tsx +++ b/src/pages/gallery/components/CreateCollection.tsx @@ -6,7 +6,7 @@ import { CollectionAndItsLatestFile } from 'services/collectionService'; import { getToken } from 'utils/common/key'; import constants from 'utils/strings/constants'; -export const ERR_NO_INTERNET_CONNECTION = 0; +export const ERR_NO_INTERNET_CONNECTION = 1; export default function CreateCollection(props) { const {