diff options
Diffstat (limited to 'packages/integrations/react')
-rw-r--r-- | packages/integrations/react/server.js | 2 | ||||
-rw-r--r-- | packages/integrations/react/test/fixtures/react-component/src/pages/index.astro | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/packages/integrations/react/server.js b/packages/integrations/react/server.js index f7de2ff2e..b2e94fbf0 100644 --- a/packages/integrations/react/server.js +++ b/packages/integrations/react/server.js @@ -1,8 +1,8 @@ +import opts from 'astro:react:opts'; import React from 'react'; import ReactDOM from 'react-dom/server'; import { incrementId } from './context.js'; import StaticHtml from './static-html.js'; -import opts from 'astro:react:opts'; const slotName = (str) => str.trim().replace(/[-_]([a-z])/g, (_, w) => w.toUpperCase()); const reactTypeof = Symbol.for('react.element'); diff --git a/packages/integrations/react/test/fixtures/react-component/src/pages/index.astro b/packages/integrations/react/test/fixtures/react-component/src/pages/index.astro index 3afd8233f..b3b95c4b3 100644 --- a/packages/integrations/react/test/fixtures/react-component/src/pages/index.astro +++ b/packages/integrations/react/test/fixtures/react-component/src/pages/index.astro @@ -1,12 +1,12 @@ --- -import Hello from '../components/Hello.jsx'; -import Later from '../components/Goodbye.vue'; import ArrowFunction from '../components/ArrowFunction.jsx'; +import CloneElement from '../components/CloneElement'; +import Later from '../components/Goodbye.vue'; +import Hello from '../components/Hello.jsx'; import PropsSpread from '../components/PropsSpread.jsx'; -import {Research2} from '../components/Research.jsx'; import Pure from '../components/Pure.jsx'; +import {Research2} from '../components/Research.jsx'; import TypeScriptComponent from '../components/TypeScriptComponent'; -import CloneElement from '../components/CloneElement'; import WithChildren from '../components/WithChildren'; import WithId from '../components/WithId'; |