diff --git a/docs/tutorial/building-a-theme.md b/docs/tutorial/building-a-theme.md index a38b569a5fb08..c1f3fa21b1336 100644 --- a/docs/tutorial/building-a-theme.md +++ b/docs/tutorial/building-a-theme.md @@ -155,12 +155,12 @@ The `gatsby-theme-events/package.json` file should now include the following: ```json:title=gatsby-theme-events/package.json { "peerDependencies": { - "gatsby": "^2.9.11", - "react": "^16.9.0", - "react-dom": "^16.9.0" + "gatsby": "^3.0.0", + "react": "^16.9.0 || ^17.0.0", + "react-dom": "^16.9.0 || ^17.0.0" }, "devDependencies": { - "gatsby": "^2.9.11", + "gatsby": "^3.0.0", "react": "^16.9.0", "react-dom": "^16.9.0" }