Skip to content

Commit

Permalink
fix: remove react 17/18 warning (#8300)
Browse files Browse the repository at this point in the history
  • Loading branch information
jtoar committed May 15, 2023
1 parent e1c64f1 commit f368a37
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions packages/cli/src/commands/upgrade.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,14 +151,6 @@ export const handler = async ({ dryRun, tag, verbose, dedupe }) => {
` ❖ You may want to update your redwood.toml config so that \`notifications.versionUpdates\` includes "${tag}"\n`
)
}
// Notify about React17/18 issue on the current canary
if (tag === 'canary') {
additionalMessages.push(
` ❖ If you just upgraded a new project then it may be broken.\n ${c.info(
`->`
)} To fix this you have to manually update your web/package.json to use React 18 and then run \`yarn install\`\n`
)
}
// Append additional messages with a header
if (additionalMessages.length > 0) {
messageSections.push(
Expand Down

0 comments on commit f368a37

Please sign in to comment.