diff --git a/src/components/Layout/Header.jsx b/src/components/Layout/Header.jsx index 14f22abe..aa8ce99c 100644 --- a/src/components/Layout/Header.jsx +++ b/src/components/Layout/Header.jsx @@ -14,7 +14,7 @@ import { useEffect, useState } from "react"; const Header = () => { const { profile } = useProfile(); const location = useLocation(); - const dispatch = useDispatch( changeMaster( "Job Role" ) ); + const dispatch = useDispatch(changeMaster("Job Role")); const { data, loading } = useMaster(); const navigate = useNavigate(); @@ -105,72 +105,39 @@ const Header = () => { className="navbar-nav-right d-flex align-items-center justify-content-between" id="navbar-collapse" > -