diff --git a/src/pages/Applications/AdminViewApplications.tsx b/src/pages/Applications/AdminViewApplications.tsx
index 3d2921e9c..03feda845 100644
--- a/src/pages/Applications/AdminViewApplications.tsx
+++ b/src/pages/Applications/AdminViewApplications.tsx
@@ -4,10 +4,13 @@ import NavBar from '../../components/sidebar/navHeader';
import { fetchApplications } from '../../redux/actions/adminListApplications';
import { HiDotsVertical } from 'react-icons/hi';
import { Pagination } from 'flowbite-react';
-
+import Select from "react-select";
+import { useTheme } from "../../hooks/darkmode";
+import * as icons from "react-icons/ai";
const ListApplications = () => {
const navigate = useNavigate();
const [applications, setApplications]: any = useState();
+ const { theme, setTheme } = useTheme();
const [activePage, setActivePage] = useState(1);
const [itemsCountPerPage, setItemsCountPerPage] = useState(10);
@@ -47,7 +50,29 @@ const ListApplications = () => {
) => {
setItemsCountPerPage(Number(event.target.value));
};
+ const customTheme = (theme: any) => {
+ return {
+ ...theme,
+ colors: {
+ ...theme.colors,
+ text: "light-gray",
+ primary25: "#E5E7EB",
+ primary: "#d6dfdf",
+ neutral0: "white",
+ },
+ };
+ };
+ const darkTheme = (theme: any) => {
+ return {
+ ...theme,
+ colors: {
+ primary25: "#404657",
+ primary: "#d6dfdf",
+ neutral0: "#293647",
+ },
+ };
+ };
const totalApplications = applications?.length;
return (
@@ -57,14 +82,42 @@ const ListApplications = () => {
-
-
-
-
-
-
+
diff --git a/src/pages/JobPost/job.tsx b/src/pages/JobPost/job.tsx
index 2ba639300..e98a9501e 100644
--- a/src/pages/JobPost/job.tsx
+++ b/src/pages/JobPost/job.tsx
@@ -409,7 +409,7 @@ const Jobs = (props: any) => {
- {fetchJobPostStates?.data?.map((item: any) => (
+ {allfilteredjobPosts?.data?.map((item: any) => (
async (dispatch: any) => {
try {
- if(filterAttribute==='' || filterAttribute===null){
- toast.error("Please insert a filter attribute")
- }
const datas = await axios.post("/", {
query: `
query Query($input: FilterOptions) {