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>
This commit is contained in:
Joseph 2024-05-18 07:56:40 +02:00 committed by GitHub
parent 6a80f2b25d
commit 0cd20e0ea5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -9,6 +9,6 @@
"next": "latest", "next": "latest",
"react": "^18.2.0", "react": "^18.2.0",
"react-dom": "^18.2.0", "react-dom": "^18.2.0",
"react-modal": "3.11.2" "react-modal": "3.16.1"
} }
} }