From 4105491732440e3fd3b984b780e338e0753e3787 Mon Sep 17 00:00:00 2001 From: bluwy Date: Tue, 12 Sep 2023 09:58:47 +0000 Subject: [PATCH] [ci] format --- packages/astro/src/runtime/client/hmr.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/packages/astro/src/runtime/client/hmr.ts b/packages/astro/src/runtime/client/hmr.ts index 277751e28..989ddc6b9 100644 --- a/packages/astro/src/runtime/client/hmr.ts +++ b/packages/astro/src/runtime/client/hmr.ts @@ -42,8 +42,5 @@ function isStyle(node: Node): node is HTMLStyleElement { } function isViteInjectedStyle(node: Node): node is HTMLStyleElement { - return ( - isStyle(node) && - !!node.getAttribute('data-vite-dev-id') - ); + return isStyle(node) && !!node.getAttribute('data-vite-dev-id'); }