From fcd2df647212bce6a6ee77b9bf4c45c200b7d5bb Mon Sep 17 00:00:00 2001 From: Florian <45694132+flo-bit@users.noreply.github.com> Date: Sun, 25 May 2025 19:32:43 +0200 Subject: [PATCH] test --- src/routes/+page.svelte | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index b0e234f..a8787ac 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -63,18 +63,6 @@ me.current.profile.name = profile.handle; if (profile.avatar) { - // download avatar from profile.avatar - // let avatar = await fetch(profile.avatar); - // let blob = await avatar.blob(); - // let file = new File([blob], 'avatar.png', { type: 'image/png' }); - // const image = await createImage(file, { - // owner: me, - // maxSize: 256 - // }); - - // if (image) { - // me.current.profile.image = image; - // } me.current.profile.imageUrl = profile.avatar; } } -- 2.51.2