diff options
| author | 2022-04-18 16:09:57 +0200 | |
|---|---|---|
| committer | 2022-04-18 10:09:57 -0400 | |
| commit | 9e35758ec3278083f54cf0e30d62ed48c63871e8 (patch) | |
| tree | 021d06d56d65a6c49200e00c309ebbd03fe80156 /examples/docs | |
| parent | 41d503c7b1af72e1765bf3666e659bb4f5069016 (diff) | |
| download | astro-9e35758ec3278083f54cf0e30d62ed48c63871e8.tar.gz astro-9e35758ec3278083f54cf0e30d62ed48c63871e8.tar.zst astro-9e35758ec3278083f54cf0e30d62ed48c63871e8.zip | |
Roll back to React 17 in docs template (#3129)
The docs example template includes Algolia’s Docsearch components to provide a search bar but this doesn’t support React 18 yet, so will error when dependencies are being installed.
See https://discord.com/channels/830184174198718474/965413318678425600
Diffstat (limited to 'examples/docs')
| -rw-r--r-- | examples/docs/package.json | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/docs/package.json b/examples/docs/package.json index e9540592c..acdfcdbc5 100644 --- a/examples/docs/package.json +++ b/examples/docs/package.json @@ -14,8 +14,8 @@ "@docsearch/react": "^3.0.0", "@types/react": "^17.0.44", "preact": "^10.7.1", - "react": "^18.0.0", - "react-dom": "^18.0.0" + "react": "^17.0.0", + "react-dom": "^17.0.0" }, "devDependencies": { "@astrojs/preact": "^0.1.1", |
