Skip to content

Commit

Permalink
update changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
ematipico committed Jun 4, 2024
1 parent 6848e58 commit 8952c85
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .changeset/fair-singers-reflect.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ The integration now exposes a function called `getContainerRenderer`, that can b
```js
import { experimental_AstroContainer as AstroContainer } from 'astro/container';
import ReactWrapper from '../src/components/ReactWrapper.astro';
import { loadRenderers} from "astro:container";
import { loadRenderers } from "astro:container";
import { getContainerRenderer } from "@astrojs/react";

test('ReactWrapper with react renderer', async () => {
const renderers = await loadRenderers([getContainerRenderer(19)])
const renderers = await loadRenderers([getContainerRenderer()])
const container = await AstroContainer.create({
renderers,
});
Expand Down
4 changes: 2 additions & 2 deletions .changeset/gold-mayflies-beam.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ The **type** of the `renderers` option of the `AstroContainer::create` function
```js
import { experimental_AstroContainer as AstroContainer } from 'astro/container';
import ReactWrapper from '../src/components/ReactWrapper.astro';
import { loadRenderers} from "astro:container";
import { loadRenderers } from "astro:container";
import { getContainerRenderer } from "@astrojs/react";

test('ReactWrapper with react renderer', async () => {
const renderers = await loadRenderers([getContainerRenderer(19)])
const renderers = await loadRenderers([getContainerRenderer()])
const container = await AstroContainer.create({
renderers,
});
Expand Down

0 comments on commit 8952c85

Please sign in to comment.