From 68c7aa266b6ed0a772db5df90a970e3a8b572f45 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:48 +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 e343d166be..8c02e22fef 100644 --- a/packages/frontend/src/components/MkNote.stories.ts +++ b/packages/frontend/src/components/MkNote.stories.ts @@ -62,9 +62,7 @@ export const Default = { const url = new URL(urlStr); if ( - url.href.startsWith( - 'https://github.com/misskey-dev/misskey/blob/master/packages/frontend/assets/', - ) + 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()}`)