upd: api jenna ai
Deskripsi: - detail post pengaduan - detail post pengajuan surat No Issues
This commit is contained in:
@@ -44,7 +44,7 @@ export default function DetailPengaduanPage() {
|
||||
const { data, mutate, isLoading } = useSwr("/", () =>
|
||||
apiFetch.api.pengaduan.detail.get({
|
||||
query: {
|
||||
nomerPengaduan: id!,
|
||||
id: id!,
|
||||
},
|
||||
}),
|
||||
);
|
||||
@@ -70,7 +70,7 @@ export default function DetailPengaduanPage() {
|
||||
);
|
||||
}
|
||||
|
||||
function DetailDataPengaduan({ data, onAction }: { data: any, onAction: () => void }) {
|
||||
function DetailDataPengaduan({ data, onAction }: { data: any | null, onAction: () => void }) {
|
||||
const [opened, { open, close }] = useDisclosure(false);
|
||||
const [catModal, setCatModal] = useState<"tolak" | "terima">("tolak");
|
||||
const [openedPreview, setOpenedPreview] = useState(false);
|
||||
|
||||
Reference in New Issue
Block a user