Unverified Commit 2d6b5608 authored by Darsh Patel's avatar Darsh Patel Committed by GitHub

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.
parent 6b97bcea
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
"passport-local": "1.0.0", "passport-local": "1.0.0",
"react": "latest", "react": "latest",
"react-dom": "latest", "react-dom": "latest",
"swr": "0.3.0", "swr": "^0.5.5",
"uuid": "8.3.1" "uuid": "8.3.1"
}, },
"license": "MIT" "license": "MIT"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment