diff --git a/README.md b/README.md index e999048..b571df7 100644 --- a/README.md +++ b/README.md @@ -248,12 +248,12 @@ By default, it uses `useBrowserLocation` under the hood, though you can configur import { useLocation } from "wouter"; const CurrentLocation = () => { - const [location, setLocation] = useLocation(); + const [location, navigate] = useLocation(); return (