fix job
deskripsi: - fix server action to API notification to admin - fix api created job
This commit is contained in:
@@ -10,7 +10,7 @@ import { useShallowEffect } from "@mantine/hooks";
|
||||
import _ from "lodash";
|
||||
import { ScrollOnly } from "next-scroll-loader";
|
||||
import { useState } from "react";
|
||||
import { apiGetJob, apiGetJobArsip } from "../../component/api_fetch_job";
|
||||
import { apiGetJob, apiGetJobArsip } from "../../lib/api_fetch_job";
|
||||
import ComponentJob_CardStatus from "../../component/card/card_view";
|
||||
import { MODEL_JOB } from "../../model/interface";
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ import {
|
||||
Job_ComponentButtonUpdateBeranda,
|
||||
Job_ComponentSkeletonBeranda,
|
||||
} from "../../component";
|
||||
import { apiGetJob } from "../../component/api_fetch_job";
|
||||
import { apiGetJob } from "../../lib/api_fetch_job";
|
||||
import ComponentJob_BerandaCardView from "../../component/beranda/card_view";
|
||||
import { MODEL_JOB } from "../../model/interface";
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ import { useState } from "react";
|
||||
import ComponentJob_CardStatus from "../../component/card/card_view";
|
||||
import job_getAllStatusPublish from "../../fun/get/status/get_list_publish";
|
||||
import { useShallowEffect } from "@mantine/hooks";
|
||||
import { apiGetJobByStatus } from "../../component/api_fetch_job";
|
||||
import { apiGetJobByStatus } from "../../lib/api_fetch_job";
|
||||
|
||||
export default function Job_Publish({ nameStatus }: { nameStatus: string }) {
|
||||
const [data, setData] = useState<any[] | null>(null);
|
||||
|
||||
@@ -9,7 +9,7 @@ import { useState } from "react";
|
||||
import ComponentJob_CardStatus from "../../component/card/card_view";
|
||||
import job_getAllStatusReview from "../../fun/get/status/get_list_review";
|
||||
import { useShallowEffect } from "@mantine/hooks";
|
||||
import { apiGetJobByStatus } from "../../component/api_fetch_job";
|
||||
import { apiGetJobByStatus } from "../../lib/api_fetch_job";
|
||||
|
||||
export default function Job_Review({ nameStatus }: { nameStatus: string }) {
|
||||
const [data, setData] = useState<any[] | null>(null);
|
||||
|
||||
@@ -11,7 +11,7 @@ import _ from "lodash";
|
||||
import { ScrollOnly } from "next-scroll-loader";
|
||||
import { useParams } from "next/navigation";
|
||||
import { useState } from "react";
|
||||
import { apiGetJobByStatus } from "../../component/api_fetch_job";
|
||||
import { apiGetJobByStatus } from "../../lib/api_fetch_job";
|
||||
import ComponentJob_CardStatus from "../../component/card/card_view";
|
||||
|
||||
export default function Job_NewViewStatus() {
|
||||
|
||||
Reference in New Issue
Block a user