Skip to content

Commit

Permalink
feat: fix client eslint error
Browse files Browse the repository at this point in the history
  • Loading branch information
Ayobami6 committed Oct 23, 2023
1 parent b5e9d84 commit ffde2f2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions client/src/components/Modal/interfaces/modaInterface.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable @typescript-eslint/no-explicit-any */
import { Dispatch, SetStateAction } from "react";

export interface modalProps {
Expand Down
3 changes: 2 additions & 1 deletion client/src/pages/Employer/Employer.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable @typescript-eslint/no-unused-vars */
import TalentCard from '../../components/TalentCard';
import TalentNav from '../../components/Navbar/TalentNav';
import Search from '../../components/util/Search';
Expand All @@ -19,7 +20,7 @@ const Employer = () => {
useEffect(() => {
dispatch(getTalentsPerPage(setLoading, page));
// dispatch(getTalents(setLoading));
}, [page]);
}, [page, dispatch]);

const prevPage = () => setPage((cur) => cur - 1);
const nextPage = () => setPage((cur) => cur + 1);
Expand Down

0 comments on commit ffde2f2

Please sign in to comment.