forked from Archives/Athou_commafeed
fix sonar warnings
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
import { NumberFormatter } from "@mantine/core"
|
||||
import type { MetricGauge } from "@/app/types"
|
||||
|
||||
interface MeterProps {
|
||||
interface GaugeProps {
|
||||
gauge: MetricGauge
|
||||
}
|
||||
|
||||
export function Gauge(props: MeterProps) {
|
||||
export function Gauge(props: Readonly<GaugeProps>) {
|
||||
return <NumberFormatter value={props.gauge.value} thousandSeparator />
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user