From 2272f8d3c4f4c5c836a5ef356c8bfd29bb801382 Mon Sep 17 00:00:00 2001 From: matthewp Date: Wed, 6 Sep 2023 13:15:40 +0000 Subject: [PATCH] [ci] format --- packages/integrations/react/src/index.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/packages/integrations/react/src/index.ts b/packages/integrations/react/src/index.ts index 2a78ce9cd0a3..d5f6965224e4 100644 --- a/packages/integrations/react/src/index.ts +++ b/packages/integrations/react/src/index.ts @@ -99,10 +99,7 @@ export default function ({ vite: getViteConfiguration({ include, exclude, experimentalReactChildren }), }); if (command === 'dev') { - const preamble = FAST_REFRESH_PREAMBLE.replace( - `__BASE__`, - '/' - ); + const preamble = FAST_REFRESH_PREAMBLE.replace(`__BASE__`, '/'); injectScript('before-hydration', preamble); } },