0cd20e0ea5
### What? Example update to `with-route-as-modal`, which used `react-modal@13.1.2` ### Why? The `react-modal` version specified, did not include react 18 as peer-dependency. This causes users to have problems when creating the example: https://github.com/vercel/next.js/discussions/65835 ### How? Bump version to latest available, 13.16.1. Co-authored-by: Sam Ko <sam@vercel.com>
14 lines
241 B
JSON
14 lines
241 B
JSON
{
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next",
|
|
"build": "next build",
|
|
"start": "next start"
|
|
},
|
|
"dependencies": {
|
|
"next": "latest",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"react-modal": "3.16.1"
|
|
}
|
|
}
|