From dfa65340124f782b779e40028fa63ea5829a75d5 Mon Sep 17 00:00:00 2001 From: Mackie Date: Thu, 4 Jun 2026 18:00:55 +0800 Subject: [PATCH] test --- src/blocks/StatsStrip/Component.tsx | 31 +++++++++++------------------ 1 file changed, 12 insertions(+), 19 deletions(-) diff --git a/src/blocks/StatsStrip/Component.tsx b/src/blocks/StatsStrip/Component.tsx index 8976f2f..2ff28aa 100644 --- a/src/blocks/StatsStrip/Component.tsx +++ b/src/blocks/StatsStrip/Component.tsx @@ -1,35 +1,28 @@ -import React from 'react' - -type Stat = { - value: string - label: string -} - -type StatsStripProps = { - stats?: Stat[] -} - export function StatsStripBlock({ stats }: StatsStripProps) { if (!Array.isArray(stats) || stats.length === 0) return null return ( - // Applied consistent vertical spacing to match other page sections
{stats.map((stat, i) => (
-

{stat.value}

-

{stat.label}

+

+ {stat.value} +

+

+ {stat.label} +

))}