We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4cb794b commit b984d7aCopy full SHA for b984d7a
frontend/src/components/connections/AppUsage.tsx
@@ -54,7 +54,7 @@ export function AppUsage({ app }: { app: App }) {
54
55
const totalSpent = allTransactions
56
.filter((tx) => tx.type === "outgoing" && tx.state === "settled")
57
- .map((tx) => Math.floor(tx.amount / 1000))
+ .map((tx) => Math.floor((tx.amount + tx.feesPaid) / 1000))
58
.reduce((a, b) => a + b, 0);
59
60
const totalReceived = allTransactions
0 commit comments