Skip to content

Commit

Permalink
chore: Bump react-modal to 3.16.2 in with-router-as-modal example (#6…
Browse files Browse the repository at this point in the history
…5841)

### 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:
#65835

### How?

Bump version to latest available, 13.16.1.

Co-authored-by: Sam Ko <sam@vercel.com>
  • Loading branch information
icyJoseph and samcx committed May 18, 2024
1 parent 6a80f2b commit 0cd20e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/with-route-as-modal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
"next": "latest",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-modal": "3.11.2"
"react-modal": "3.16.1"
}
}

0 comments on commit 0cd20e0

Please sign in to comment.