From 06e340248e73be37cb1c8e8e6b8f812bc3086e52 Mon Sep 17 00:00:00 2001 From: Muhammad Eko Date: Mon, 7 Oct 2024 14:30:12 +0700 Subject: [PATCH] done: --- src/app/(dashboard)/karyawan/page.tsx | 4 ++-- src/app/layout.tsx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/app/(dashboard)/karyawan/page.tsx b/src/app/(dashboard)/karyawan/page.tsx index cf92f61..bc81da5 100644 --- a/src/app/(dashboard)/karyawan/page.tsx +++ b/src/app/(dashboard)/karyawan/page.tsx @@ -32,7 +32,7 @@ export default function KaryawanPage() { acc[curr.type] = (acc[curr.type] || 0) + curr.count; return acc; }, {} as {[key: string]: number}); - setTotalSanctions(Object.keys(total).map(key => ({type: key, count: total[key]}))) + setTotalSanctions(Object.keys(total).map(key => ({type: key, count: total[key]}))); } }, [sanctionSummary]); @@ -97,7 +97,7 @@ export default function KaryawanPage() {
Ranking (Top 10) Total Penjatuhan Sanksi Setiap Perusahaan
- b.st + b.sp1 + b.sp2 + b.sp3 + b.phk - a.st - a.sp1 - a.sp2 - a.sp3 - a.phk).slice(0, 10) ?? []]} series={[ {dataKey: "st", label: "ST", color: "#F5C322"}, {dataKey: "sp1", label: "SP1", color: "#F3832D"}, {dataKey: "sp2", label: "SP2", color: "#F6CBAB"}, diff --git a/src/app/layout.tsx b/src/app/layout.tsx index a05f01e..0c8d70b 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -18,8 +18,8 @@ const geistMono = localFont({ }); export const metadata: Metadata = { - title: "Create Next App", - description: "Generated by create next app", + title: "Julong HRM - Dashboard", + description: "Julong HRM - Dashboard", }; export default function RootLayout({