Skip to content

Commit

Permalink
Cohorts: Show Streamed instead of Balance (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
carletex authored Sep 21, 2023
1 parent 4f410e8 commit c76b078
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/nextjs/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ const Home: NextPage<{
<tr className="text-base bg-base-100 text-left">
<th className="py-3 px-4 xl:px-8">Name</th>
<th className="py-3 px-4 xl:px-8">Hackers</th>
<th className="py-3 px-4 xl:px-8">Balance</th>
<th className="py-3 px-4 xl:px-8">Streamed</th>
</tr>
</thead>
<tbody className="shadow-even rounded-3xl text-sm">
Expand All @@ -322,7 +322,7 @@ const Home: NextPage<{
<td className="py-3 px-4 xl:px-8">{cohort.name}</td>
<td className="py-3 px-4 xl:px-8">{Object.keys(cohort.builders).length}</td>
<td className="py-3 px-4 xl:px-8">
{parseFloat(cohort.balance).toFixed(2)}
{parseFloat(cohort.totalWithdrawn).toFixed(2)}
<span className="text-xs ml-1">ETH</span>
</td>
</tr>
Expand Down

0 comments on commit c76b078

Please sign in to comment.