diff --git a/scripts/sync-react.js b/scripts/sync-react.js index 77d3b11ed232a3..339207d028ce34 100644 --- a/scripts/sync-react.js +++ b/scripts/sync-react.js @@ -331,7 +331,8 @@ Or, run this command with no arguments to use the most recently published versio await fsp.readFile(nextjsPackageJsonPath, 'utf-8') ) nextjsPackageJson.peerDependencies.react = `^18.2.0 || ${newVersionStr}` - nextjsPackageJson.peerDependencies['react-dom'] = `^18.2.0 || ${newVersionStr}` + nextjsPackageJson.peerDependencies['react-dom'] = + `^18.2.0 || ${newVersionStr}` await fsp.writeFile( nextjsPackageJsonPath, JSON.stringify(nextjsPackageJson, null, 2) +