diff --git a/components/CollectionCard.tsx b/components/CollectionCard.tsx index 5e1f8a4..1a6cc31 100644 --- a/components/CollectionCard.tsx +++ b/components/CollectionCard.tsx @@ -172,7 +172,7 @@ export default function CollectionCard({ collection, className }: Props) {
{collection.isPublic ? ( ) : undefined} diff --git a/layouts/MainLayout.tsx b/layouts/MainLayout.tsx index f0a9190..7993c45 100644 --- a/layouts/MainLayout.tsx +++ b/layouts/MainLayout.tsx @@ -46,7 +46,7 @@ export default function MainLayout({ children }: Props) {
diff --git a/lib/api/archiveHandler.ts b/lib/api/archiveHandler.ts index ce919b3..60ea790 100644 --- a/lib/api/archiveHandler.ts +++ b/lib/api/archiveHandler.ts @@ -43,7 +43,8 @@ export default async function archiveHandler(link: LinksAndCollectionAndOwner) { ? await validateUrlSize(link.url) : undefined; - if (validatedUrl === null) throw "File is too large to be stored."; + if (validatedUrl === null) + throw "Something went wrong while retrieving the file size."; const contentType = validatedUrl?.get("content-type"); let linkType = "url";