From 10de6661b08f5c9551c223ef26f027dbb18aa8e2 Mon Sep 17 00:00:00 2001 From: Ryan Hoffman Date: Mon, 15 May 2023 13:23:13 -0400 Subject: [PATCH] chore: fix peerDependencies to React 18 (#156) --- .changeset/famous-rockets-jam.md | 5 +++++ @rocketseat/gatsby-theme-docs/package.json | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 .changeset/famous-rockets-jam.md diff --git a/.changeset/famous-rockets-jam.md b/.changeset/famous-rockets-jam.md new file mode 100644 index 0000000..be10937 --- /dev/null +++ b/.changeset/famous-rockets-jam.md @@ -0,0 +1,5 @@ +--- +'@rocketseat/gatsby-theme-docs': patch +--- + +Fix peerDependencies to React 18 diff --git a/@rocketseat/gatsby-theme-docs/package.json b/@rocketseat/gatsby-theme-docs/package.json index fbcb437..08db2b1 100644 --- a/@rocketseat/gatsby-theme-docs/package.json +++ b/@rocketseat/gatsby-theme-docs/package.json @@ -49,7 +49,7 @@ }, "peerDependencies": { "gatsby": "^5.0.0", - "react": "^16.9.0 || ^17.0.0", - "react-dom": "^16.9.0 || ^17.0.0" + "react": "^18.0.0", + "react-dom": "^18.0.0" } }