side menu display bug fixed
This commit was merged in pull request #119.
This commit is contained in:
@@ -36,7 +36,7 @@ export default function Layout({ children }) {
|
||||
//---------------------------------------
|
||||
/* LET U DEAL WITH JOB LIST - we need to centralize this list */
|
||||
const {jobListTable} = useSelector((state) => state.tableReload)
|
||||
const [MyJobList, setMyJobList] = useState({loading: true, data:[]});
|
||||
const [myJobList, setMyJobList] = useState({loading: true, data:[]});
|
||||
const api = new usersService();
|
||||
|
||||
const getMyJobList = async () => {
|
||||
@@ -75,6 +75,7 @@ export default function Layout({ children }) {
|
||||
logoutModalHandler={logoutModalHandler}
|
||||
sidebar={drawer}
|
||||
action={() => dispatch(drawerToggle())}
|
||||
myJobList={myJobList}
|
||||
/>
|
||||
</div>
|
||||
{MobileSideBar && (
|
||||
@@ -92,6 +93,7 @@ export default function Layout({ children }) {
|
||||
logoutModalHandler={logoutModalHandler}
|
||||
sidebar={MobileSideBar}
|
||||
action={() => setMobileSidebar.toggle()}
|
||||
myJobList={myJobList}
|
||||
/>
|
||||
</div>
|
||||
{/* end sidebar */}
|
||||
|
||||
Reference in New Issue
Block a user