From 78b14ec7971d8c0831257e024b12179881bdedca Mon Sep 17 00:00:00 2001 From: victorAnumudu Date: Sun, 11 Jun 2023 05:35:50 +0100 Subject: [PATCH] past due common head banner fixed --- src/views/MyPastDueJobsPage.jsx | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/views/MyPastDueJobsPage.jsx b/src/views/MyPastDueJobsPage.jsx index b50c9ce..e92cc77 100644 --- a/src/views/MyPastDueJobsPage.jsx +++ b/src/views/MyPastDueJobsPage.jsx @@ -3,12 +3,10 @@ import usersService from "../services/UsersService"; //import MyJobs from "../components/MyJobs"; //import MyActiveJobs from "../components/MyActiveJobs"; import MyPastDueJobs from "../components/MyActiveJobs/MyPastDueJobs"; +import { useSelector } from "react-redux"; export default function MyPastDueJobsPage() { - const commonHeadData =()=>{ - console.log("COMMON HEAD DATA ----------------=====---------------------"); - return 0; - } + let {commonHeadBanner} = useSelector(state => state.commonHeadBanner) const [MyJobList, setMyJobList] = useState([]); const api = new usersService(); //TARGET ENDPOINT[POST]http://10.204.5.100:9083/en/wrench/api/v1/jobmanageractive @@ -29,7 +27,7 @@ export default function MyPastDueJobsPage() { <> );