summaryrefslogtreecommitdiff
path: root/packages/integrations/react
diff options
context:
space:
mode:
authorGravatar Hippo <6137925+hippotastic@users.noreply.github.com> 2023-07-01 16:34:49 +0200
committerGravatar GitHub <noreply@github.com> 2023-07-01 16:34:49 +0200
commitbc9ce779d3c02e7a960a8a79ce2610a96b2afcb7 (patch)
treeca98857efd8c7e26786d45d21fa220f89646f128 /packages/integrations/react
parent0251e4e6cf512967e2421c2389aafef17fb89b79 (diff)
downloadastro-bc9ce779d3c02e7a960a8a79ce2610a96b2afcb7.tar.gz
astro-bc9ce779d3c02e7a960a8a79ce2610a96b2afcb7.tar.zst
astro-bc9ce779d3c02e7a960a8a79ce2610a96b2afcb7.zip
Move code block titles into comments to match docs (#7543)
Co-authored-by: Yan Thomas <61414485+Yan-Thomas@users.noreply.github.com>
Diffstat (limited to 'packages/integrations/react')
-rw-r--r--packages/integrations/react/README.md5
1 files changed, 2 insertions, 3 deletions
diff --git a/packages/integrations/react/README.md b/packages/integrations/react/README.md
index 68daef6e4..48c45881f 100644
--- a/packages/integrations/react/README.md
+++ b/packages/integrations/react/README.md
@@ -42,9 +42,8 @@ npm install react react-dom
Now, apply this integration to your `astro.config.*` file using the `integrations` property:
-**`astro.config.mjs`**
-
-```js ins={2} "react()"
+```js ins={3} "react()"
+// astro.config.mjs
import { defineConfig } from 'astro/config';
import react from '@astrojs/react';