From 10fbf729824053ac4228dad069b7ab78dcefa6aa Mon Sep 17 00:00:00 2001 From: "sewmina7@gmail.com" Date: Mon, 24 Jun 2024 12:31:14 +0530 Subject: [PATCH] prof_pic --- app/page.tsx | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/app/page.tsx b/app/page.tsx index 3631262..148bcc9 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -235,12 +235,25 @@ function Home() {
{leaderboardData.map((item) => ( - -
= 0 ? 'positive' : 'negative'} mx-auto mb-4`} onClick={() => openModal(item)}> -

{item["username"]}

-

{parseFloat(item["points"]).toFixed(2)}x

+ +
= 0 ? 'positive' : 'negative'} mx-auto mb-4`} + onClick={() => openModal(item)} + > +
+ {`${item["username"]}'s +
+

{item["username"]}

+

{parseFloat(item["points"]).toFixed(2)}x

+
+
-
+ ))}