rsnext/examples/with-route-as-modal/package.json
Joseph 0cd20e0ea5
chore: Bump react-modal to 3.16.2 in with-router-as-modal example (#65841)
### 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>
2024-05-17 22:56:40 -07:00

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"
}
}