Commit 1833b925 authored by Rais Aryaguna's avatar Rais Aryaguna

fix error eslint

parent 3fa64b2e
......@@ -4,7 +4,7 @@ import Grid from '@mui/material/Grid';
import dayjs from 'dayjs';
import { useEffect, useState } from 'react';
import { useFormContext } from 'react-hook-form';
import { useParams } from 'react-router';
// import { useParams } from 'react-router';
import { useKodeNegara } from 'src/actions/master-data';
import { Field } from 'src/components/hook-form';
......
......@@ -9,7 +9,7 @@ import { FormProvider, useForm } from 'react-hook-form';
import { CustomBreadcrumbs } from 'src/components/custom-breadcrumbs';
import { Field } from 'src/components/hook-form';
import { DashboardContent } from 'src/layouts/dashboard';
import { useParams, usePathname } from 'src/routes/hooks';
import { usePathname } from 'src/routes/hooks';
import { paths } from 'src/routes/paths';
import Agreement from 'src/shared/components/agreement/Agreement';
import HeadingRekam from 'src/shared/components/HeadingRekam';
......
......@@ -8,7 +8,7 @@ export type TBaseResponseAPI<T> = {
total?: number;
};
type TResponseData = {};
// type TResponseData = {};
type TBaseResponseMetaPage = {
pageNum: number | null;
......
......@@ -36,9 +36,9 @@ const DokumenDipersamakanRekamView = () => {
const [isOpenPanduan, setIsOpenPanduan] = useState<boolean>(false);
const [isCheckedAgreement, setIsCheckedAgreement] = useState<boolean>(false);
const { data, isLoading, isError } = useGetKodeObjekPajak();
const { data } = useGetKodeObjekPajak();
type BpuFormData = z.infer<typeof bpuSchema>;
// type BpuFormData = z.infer<typeof bpuSchema>;
const handleOpenPanduan = () => setIsOpenPanduan(!isOpenPanduan);
......
......@@ -16,7 +16,7 @@ type IdentitasProps = {
};
const Identitas = ({ isPengganti }: IdentitasProps) => {
const { dnId } = useParams();
// const { dnId } = useParams();
const { setValue } = useFormContext();
const [jumlahKeterangan, setJumlahKeterangan] = useState<number>(0);
......
......@@ -74,7 +74,7 @@ export function NrListView() {
.join(' AND ');
};
const { data, isLoading, isError } = useGetDn({
const { data, isLoading } = useGetDn({
params: {
Page: paginationModel.page + 1, // API biasanya 1-based
Limit: paginationModel.pageSize,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment