From 299e16e7886e71accb8217d343c2a00cc237dbf0 Mon Sep 17 00:00:00 2001 From: orig Date: Sun, 24 Dec 2023 22:26:48 +0200 Subject: [PATCH] feat: trigger frontend --- apps/frontend/src/routes/dashboard/settings/index.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/frontend/src/routes/dashboard/settings/index.tsx b/apps/frontend/src/routes/dashboard/settings/index.tsx index 1c3965f3..96c7e69c 100644 --- a/apps/frontend/src/routes/dashboard/settings/index.tsx +++ b/apps/frontend/src/routes/dashboard/settings/index.tsx @@ -163,10 +163,9 @@ export default component$(() => { } try { - // Resize and compress the image const processedBlob = await resizeImage(file, 300, 300, 0.9); - // Convert blob to base64 + // Convert blob to base64 string const reader = new FileReader(); reader.readAsDataURL(processedBlob); reader.onloadend = () => {