diff --git a/web/pages/admin.tsx b/web/pages/admin.tsx index 7b8292b2..5fba8649 100644 --- a/web/pages/admin.tsx +++ b/web/pages/admin.tsx @@ -67,7 +67,7 @@ function UsersTable() { u.email ?? '', u.name, Math.round(u.balance).toString(), - Math.round(u.profitCached.allTime).toString(), + Math.round(profitByUser[u.id] ?? 0).toString(), ]) ) const csv = lines.map((line) => line.join(', ')).join('\n')