Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

Commit

Permalink
Fix: with-passport example dependency issue (vercel#24567)
Browse files Browse the repository at this point in the history
fixes vercel#24401

Simply bumping `swr` to the latest version seems to fix the issue. 🥂 

Couldn't find a consistent pattern across the examples, but most examples are flexible with swr version and use the semver caret.

Very standard use of the useSWR hook is there in the example with nothing obviously version specific.
  • Loading branch information
darshkpatel authored Apr 28, 2021
1 parent 6b97bce commit ff8fba2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/with-passport/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"passport-local": "1.0.0",
"react": "latest",
"react-dom": "latest",
"swr": "0.3.0",
"swr": "^0.5.5",
"uuid": "8.3.1"
},
"license": "MIT"
Expand Down

0 comments on commit ff8fba2

Please sign in to comment.