skeletons, tournament stats, polish, bug fixes
This commit is contained in:
@@ -50,9 +50,13 @@ const StatItem = ({
|
||||
{label}
|
||||
</Text>
|
||||
</Group>
|
||||
<Text size="sm" fw={700} c="dimmed">
|
||||
{value !== null ? `${value}${suffix}` : <Skeleton width={20} height={20} />}
|
||||
</Text>
|
||||
{value !== null ? (
|
||||
<Text size="sm" fw={700} c="dimmed">
|
||||
{`${value}${suffix}`}
|
||||
</Text>
|
||||
) : (
|
||||
<Skeleton width={20} height={20} />
|
||||
)}
|
||||
</Group>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user