Skip to content

Commit

Permalink
Removed Link from the leaderboard
Browse files Browse the repository at this point in the history
  • Loading branch information
MeetDOD committed Jul 27, 2024
1 parent 75eff66 commit 1974624
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/pages/LeaderBoard.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Link, useNavigate } from 'react-router-dom';
import { useNavigate } from 'react-router-dom';
import Loader from '../components/Loader';
import { GiTrophyCup } from "react-icons/gi";
import { useRecoilValue } from 'recoil';
Expand Down Expand Up @@ -60,7 +60,7 @@ const LeaderBoard = () => {
</div>
</td>
<td className="px-2 py-4 sm:px-6">
<Link to={`/app/profile/${user.userId}`} className={`text-sm dark:text-gray-50 ${currentUser && user.userId === currentUser.id ? 'font-bold' : ''}`}>@{user.username}</Link>
<div className={`text-sm dark:text-gray-50 ${currentUser && user.userId === currentUser.id ? 'font-bold' : ''}`}>@{user.username}</div>
</td>
<td className="px-2 py-4 sm:px-6">
<div className="text-sm text-[#000435] dark:text-gray-50">{user.postCount}</div>
Expand Down

0 comments on commit 1974624

Please sign in to comment.