fix: home

Deskripsi:
- memberi status pada kegiatan
- menghilangkan ,00 pada persen hcart proses kegiatan
- menambahkan skeleton loading pada pencarian
- fix : hasil pencarian yg telat
- menambahkan tampilan tidak ada data pada pencarian

No Issues
This commit is contained in:
amel
2024-10-30 14:55:33 +08:00
parent e0a6310e65
commit 3b1fa31c88
5 changed files with 305 additions and 283 deletions

View File

@@ -1,13 +1,13 @@
'use client'
import { TEMA, WARNA } from "@/module/_global";
import { Box, Text } from "@mantine/core";
import { TEMA } from "@/module/_global";
import { useHookstate } from "@hookstate/core";
import { Box } from "@mantine/core";
import { useShallowEffect } from "@mantine/hooks";
import { EChartsOption } from "echarts";
import EChartsReact from "echarts-for-react";
import { useState } from "react";
import { funGetHome } from "../lib/api_home";
import toast from "react-hot-toast";
import { useHookstate } from "@hookstate/core";
import { funGetHome } from "../lib/api_home";
export default function ChartProgressHome() {
const [options, setOptions] = useState<EChartsOption>({});
@@ -41,7 +41,7 @@ export default function ChartProgressHome() {
}
};
const loadData = (value:any) => {
const loadData = (value: any) => {
const option: EChartsOption = {
title: {
text: "PROGRES KEGIATAN",