From ff830e7c6d6fbd768a91ed8f0e7be460656a6d29 Mon Sep 17 00:00:00 2001 From: Rafi Zadanly Date: Fri, 30 Dec 2022 09:56:08 +0700 Subject: Address page --- src/components/Header.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/components') 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) { -- cgit v1.2.3