fix(build): remove eslint-disable and replace 'any' with MantineColor in grafikRealisasi
This commit is contained in:
@@ -1,5 +1,4 @@
|
|||||||
/* eslint-disable @typescript-eslint/no-explicit-any */
|
import { Paper, Title, Progress, Stack, Text, Group, Box, type MantineColor } from '@mantine/core'
|
||||||
import { Paper, Title, Progress, Stack, Text, Group, Box } from '@mantine/core'
|
|
||||||
import { IconArrowUpRight, IconArrowDownRight } from '@tabler/icons-react'
|
import { IconArrowUpRight, IconArrowDownRight } from '@tabler/icons-react'
|
||||||
import { APBDes, APBDesItem } from '../types/apbdes'
|
import { APBDes, APBDesItem } from '../types/apbdes'
|
||||||
|
|
||||||
@@ -107,7 +106,7 @@ function Summary({ title, data, icon }: SummaryProps) {
|
|||||||
|
|
||||||
<Text
|
<Text
|
||||||
fz="xs"
|
fz="xs"
|
||||||
c={statusMessage.color as any}
|
c={statusMessage.color as MantineColor}
|
||||||
fw={600}
|
fw={600}
|
||||||
style={{
|
style={{
|
||||||
backgroundColor: `var(--mantine-color-${statusMessage.color}-0)`,
|
backgroundColor: `var(--mantine-color-${statusMessage.color}-0)`,
|
||||||
|
|||||||
Reference in New Issue
Block a user