diff --git a/src/modules/scores/score-stats.tsx b/src/modules/scores/score-stats.tsx
index ba2ebb1..59c63ef 100644
--- a/src/modules/scores/score-stats.tsx
+++ b/src/modules/scores/score-stats.tsx
@@ -1,6 +1,6 @@
'use client';
-import { Check, Clock, Hash, Info, Star, Target, X } from 'lucide-react';
+import { Check, Clock, Info, Star, Target, X } from 'lucide-react';
import { useTranslations } from 'use-intl';
import { Tooltip, TooltipContent, TooltipTrigger } from '@/components/ui/tooltip';
@@ -93,7 +93,7 @@ export function ScoreStats({
-
+
{formatNumber(score.modifiedScore)}
{score.mods.length > 0 && {score.mods.join(', ')}}
diff --git a/src/shared/components/stat.tsx b/src/shared/components/stat.tsx
index c2db514..5fedde5 100644
--- a/src/shared/components/stat.tsx
+++ b/src/shared/components/stat.tsx
@@ -5,7 +5,7 @@ import type { IconType } from 'react-icons';
import { cn } from '@/shared/format/helpers';
interface StatProps extends React.HTMLAttributes {
- icon: IconType | React.ComponentType<{ className?: string }>;
+ icon?: IconType | React.ComponentType<{ className?: string }>;
label?: string;
children: React.ReactNode;
labelClassName?: string;
@@ -21,7 +21,7 @@ export const Stat = forwardRef(
className={cn('bg-secondary/35 text-muted-foreground inline-flex items-center gap-2 rounded-md border px-2.5 py-1 text-xs', className)}
{...props}
>
-
+ {Icon ? : null}
{label ? {label} : null}
{children}