From 869833b34abec9885c22511b46a1a83fdbc0cf12 Mon Sep 17 00:00:00 2001 From: Dorian Niemiec Date: Mon, 25 Nov 2024 06:31:28 +0100 Subject: [PATCH] fix: don't wrap Statistics component contents in
element --- components/shared/Statistics.tsx | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/components/shared/Statistics.tsx b/components/shared/Statistics.tsx index 5a5e26b..b9d9877 100644 --- a/components/shared/Statistics.tsx +++ b/components/shared/Statistics.tsx @@ -3,18 +3,16 @@ import NumberTicker from "../widgets/num-tick"; const Statistics = () => { return ( -
-
- {stats.map(({ title, count }) => ( -
-

- + -

-

{title}

-
- ))} -
-
+
+ {stats.map(({ title, count }) => ( +
+

+ + +

+

{title}

+
+ ))} +
); };