From 30a127d2da793c5eb37a95b10a680ac085019893 Mon Sep 17 00:00:00 2001 From: Abdullah Atta Date: Tue, 21 Nov 2023 09:06:21 +0500 Subject: [PATCH] core: fix "type" does not exist --- packages/editor/src/utils/downloader.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/editor/src/utils/downloader.ts b/packages/editor/src/utils/downloader.ts index cfd307e11..3c237f91d 100644 --- a/packages/editor/src/utils/downloader.ts +++ b/packages/editor/src/utils/downloader.ts @@ -138,7 +138,7 @@ export function toBlobURL( } const objectURL = URL.createObjectURL( - new Blob([Buffer.from(data, "base64")], { type: mime }) + new Blob([Buffer.from(data, "base64")], { type: mimeType }) ); if (id) OBJECT_URL_CACHE[id] = objectURL;