From cda9845b2e54ddf5aa0247722e60c5c74bd6b190 Mon Sep 17 00:00:00 2001 From: minhd-vu Date: Wed, 28 Feb 2024 18:54:46 -0500 Subject: [PATCH] add link to leaderboard row for seo --- components/LeaderboardRow.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/components/LeaderboardRow.tsx b/components/LeaderboardRow.tsx index 90aea32..2247cfb 100644 --- a/components/LeaderboardRow.tsx +++ b/components/LeaderboardRow.tsx @@ -1,6 +1,7 @@ "use client"; import { LeaderboardUser } from "@/lib/user"; +import Link from "next/link"; import { useRouter } from "next/navigation"; export default function LeaderboardRow({ @@ -19,7 +20,11 @@ export default function LeaderboardRow({ return ( onClick()}> {rank} - {user.name} + + + {user.name} + + {user.kills} {user.deaths} {user.wins}