From 4d730a02042892984f522f7847fe6f233f87c34c Mon Sep 17 00:00:00 2001 From: minhd-vu Date: Wed, 28 Feb 2024 19:45:39 -0500 Subject: [PATCH] add cursor pointer --- components/LeaderboardRow.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/LeaderboardRow.tsx b/components/LeaderboardRow.tsx index 2247cfb..bc2e4d1 100644 --- a/components/LeaderboardRow.tsx +++ b/components/LeaderboardRow.tsx @@ -13,12 +13,12 @@ export default function LeaderboardRow({ }) { const router = useRouter(); - async function onClick() { + function onClick() { router.push(`/user/${user.name}`); } return ( - onClick()}> + onClick()}> {rank}