summaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
Diffstat (limited to 'src/components')
-rw-r--r--src/components/Header.js4
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) {