diff options
| author | Rafi Zadanly <rafizadanly@gmail.com> | 2022-12-30 09:56:08 +0700 |
|---|---|---|
| committer | Rafi Zadanly <rafizadanly@gmail.com> | 2022-12-30 09:56:08 +0700 |
| commit | ff830e7c6d6fbd768a91ed8f0e7be460656a6d29 (patch) | |
| tree | 86a4797323f080a459591d45b9d5a34ee869ab65 /src/components | |
| parent | ba6eca41f673f8db4d9f686fb7dab2358a4dc5eb (diff) | |
Address page
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/Header.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/Header.js b/src/components/Header.js index 99972307..7f08c2c3 100644 --- a/src/components/Header.js +++ b/src/components/Header.js @@ -12,7 +12,7 @@ import { } from "@heroicons/react/24/outline"; // Helpers -import { getAuth, useAuth } from "../helpers/auth"; +import { useAuth } from "../helpers/auth"; // Components import Link from "./Link"; // Images @@ -26,7 +26,7 @@ export default function Header({ title }) { const [suggestions, setSuggestions] = useState([]); const searchQueryRef = useRef(); const [isMenuActive, setIsMenuActive] = useState(false); - const [auth, setAuth] = useAuth(); + const [auth] = useAuth(); useEffect(() => { if (q) { |
