Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/PoolTable.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ describe("PoolTable", () => {
// XLM(300) + USDC(100) + EURC(200) = 600; anchors 2+5+1 = 8
const tfoot = document.querySelector("tfoot");
expect(tfoot).toBeInTheDocument();
expect(tfoot).toHaveTextContent("Total");
expect(tfoot).toHaveTextContent("Total (visible rows)");
expect(tfoot).toHaveTextContent("600");
expect(tfoot).toHaveTextContent("8 anchors");
});
Expand Down
2 changes: 1 addition & 1 deletion src/components/PoolTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export function PoolTable({ pools }: { pools: Pool[] }) {
</tbody>
<tfoot>
<tr className="border-t border-zinc-700">
<td className="py-2 text-zinc-400 font-medium">Total</td>
<td className="py-2 text-zinc-400 font-medium">Total (visible rows)</td>
<td className="py-2 text-zinc-200 font-medium">
{formatAmount(pools.reduce((sum, p) => sum + p.total, 0))}
</td>
Expand Down
Loading