fix(build): remove eslint-disable and replace 'any' with MantineColor in grafikRealisasi

This commit is contained in:
2026-04-04 08:36:41 +08:00
parent 8777c45a44
commit dd09d7c90a

View File

@@ -1,5 +1,4 @@
/* eslint-disable @typescript-eslint/no-explicit-any */
import { Paper, Title, Progress, Stack, Text, Group, Box } from '@mantine/core'
import { Paper, Title, Progress, Stack, Text, Group, Box, type MantineColor } from '@mantine/core'
import { IconArrowUpRight, IconArrowDownRight } from '@tabler/icons-react'
import { APBDes, APBDesItem } from '../types/apbdes'
@@ -107,7 +106,7 @@ function Summary({ title, data, icon }: SummaryProps) {
<Text
fz="xs"
c={statusMessage.color as any}
c={statusMessage.color as MantineColor}
fw={600}
style={{
backgroundColor: `var(--mantine-color-${statusMessage.color}-0)`,