diff --git a/src/components/Leaderboard.jsx b/src/components/Leaderboard.jsx index 8257d5d..5fb3f08 100644 --- a/src/components/Leaderboard.jsx +++ b/src/components/Leaderboard.jsx @@ -44,11 +44,11 @@ export default function Leaderboard() { } return ( -
-
+
+
-
+
- + - +
@@ -69,11 +69,7 @@ export default function LeaderboardRowMore({ nft, setTxHash }) { - + diff --git a/src/components/LeaderboardTableHeader.jsx b/src/components/LeaderboardTableHeader.jsx index 37f79a0..9bbc67d 100644 --- a/src/components/LeaderboardTableHeader.jsx +++ b/src/components/LeaderboardTableHeader.jsx @@ -7,11 +7,17 @@ export default function LeaderboardTableHeader({ sortBy, setSortBy }) { rank value - + Deposit Ratio Address diff --git a/src/components/LeaderboardTableHeaderSortable.jsx b/src/components/LeaderboardTableHeaderSortable.jsx index 72580f9..81077ba 100644 --- a/src/components/LeaderboardTableHeaderSortable.jsx +++ b/src/components/LeaderboardTableHeaderSortable.jsx @@ -3,15 +3,17 @@ import { CaretUpOutlined, SwapOutlined, } from "@ant-design/icons"; +import cn from "classnames"; export default function LeaderboardTableHeaderSortable({ header, sortBy, setSortBy, + extraClasses, }) { return ( - -
+ +
{header}
{nft && ( -
-
-
- +
+
+
+
+ +
+
+
+ + {nft.isActive && ( +
+ +
+ )}
-
- - {nft.isActive && ( -
- +
+ +
+ +
+
- )} +
-
@@ -192,12 +206,12 @@ export default function NFT({ tokenId }) { />
-
+
-
+
{round((nft.deposit + nft.withdrawn) / 10 ** 18, 2)}