summaryrefslogtreecommitdiff
path: root/packages/integrations/react
diff options
context:
space:
mode:
authorGravatar matthewp <matthewp@users.noreply.github.com> 2022-08-05 21:15:28 +0000
committerGravatar fredkbot <fred+astrobot@astro.build> 2022-08-05 21:15:28 +0000
commit5be35fd69b2e2d2663e54c78e9e903c8f77a3efd (patch)
treeee445c01820c4b89f8b36de677c2f2d9c63c5992 /packages/integrations/react
parent8eb3a8c6d9554707963c3a3bc36ed8b68d3cf0fb (diff)
downloadastro-5be35fd69b2e2d2663e54c78e9e903c8f77a3efd.tar.gz
astro-5be35fd69b2e2d2663e54c78e9e903c8f77a3efd.tar.zst
astro-5be35fd69b2e2d2663e54c78e9e903c8f77a3efd.zip
[ci] format
Diffstat (limited to 'packages/integrations/react')
-rw-r--r--packages/integrations/react/src/index.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/integrations/react/src/index.ts b/packages/integrations/react/src/index.ts
index 4ae6ea77f..37cfb1b6a 100644
--- a/packages/integrations/react/src/index.ts
+++ b/packages/integrations/react/src/index.ts
@@ -14,7 +14,9 @@ function getRenderer() {
jsxTransformOptions: async () => {
// @ts-expect-error types not found
const babelPluginTransformReactJsxModule = await import('@babel/plugin-transform-react-jsx');
- const jsx = babelPluginTransformReactJsxModule?.default?.default ?? babelPluginTransformReactJsxModule?.default;
+ const jsx =
+ babelPluginTransformReactJsxModule?.default?.default ??
+ babelPluginTransformReactJsxModule?.default;
return {
plugins: [
jsx(