From d422434f6bd68a4a335a584adb83986b1280e837 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9E=9C=E7=89=A9=E3=83=AA=E3=83=B3?= Date: Sun, 29 Sep 2024 19:04:56 +0900 Subject: [PATCH] Update packages/frontend/src/components/MkNote.stories.ts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com> --- packages/frontend/src/components/MkNote.stories.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/frontend/src/components/MkNote.stories.ts b/packages/frontend/src/components/MkNote.stories.ts index 8c02e22fef..7abdbedfff 100644 --- a/packages/frontend/src/components/MkNote.stories.ts +++ b/packages/frontend/src/components/MkNote.stories.ts @@ -64,9 +64,7 @@ export const Default = { if ( url.href.startsWith('https://github.com/misskey-dev/misskey/blob/master/packages/frontend/assets/') ) { - const image = await ( - await fetch(`client-assets/${url.pathname.split('/').pop()}`) - ).blob(); + const image = await(await fetch(`client-assets/${url.pathname.split('/').pop()}`)).blob(); return new HttpResponse(image, { headers: { 'Content-Type': 'image/jpeg',