diff --git a/src/Components/dashboard/AdminHeader.tsx b/src/Components/dashboard/AdminHeader.tsx index 6272ee07..f4bb63a7 100644 --- a/src/Components/dashboard/AdminHeader.tsx +++ b/src/Components/dashboard/AdminHeader.tsx @@ -1,7 +1,7 @@ import React, { useEffect, useState } from "react"; import "@fortawesome/fontawesome-free/css/all.min.css"; import useAuthUser from "react-auth-kit/hooks/useAuthUser"; -import { useLocation } from "react-router-dom"; +import { Link, useLocation } from "react-router-dom"; import Logout from "../../services/Logout"; import { useTranslation } from "react-i18next"; @@ -180,24 +180,24 @@ const AdminHeader = () => {