Fix: with-passport example dependency issue (#24567)

fixes #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.
This commit is contained in:
Darsh Patel 2021-04-29 00:49:22 +05:30 committed by GitHub
parent 6b97bcea5b
commit 2d6b56086e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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