import { FormattedBitcoinAmount } from "src/components/FormattedBitcoinAmount"; import FormattedFiatAmount from "src/components/FormattedFiatAmount"; import { Card, CardContent, CardHeader, CardTitle, } from "src/components/ui/card"; import { ExternalLinkButton } from "src/components/ui/custom/external-link-button"; import { useForwards } from "src/hooks/useForwards"; export function ForwardsWidget() { const { data: forwards } = useForwards(); if (!forwards) { return null; } return ( Routing

Fees Earned

Total Routed

Transactions Routed

{forwards.numForwards}

Earn and support the lightning network by routing payments. To route payments you need public channels and set competitive fees.

Learn more
); }