From 16a7df4fecfcc90ed952d2e0aa6b163bb1cb38c6 Mon Sep 17 00:00:00 2001 From: James Grugett Date: Tue, 19 Jul 2022 16:44:41 -0500 Subject: [PATCH] Show creator volume in user page --- web/components/user-page.tsx | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/web/components/user-page.tsx b/web/components/user-page.tsx index 09c28920..4b78b647 100644 --- a/web/components/user-page.tsx +++ b/web/components/user-page.tsx @@ -189,17 +189,22 @@ export function UserPage(props: { {user.name} @{user.username} - - = 0 ? 'text-green-600' : 'text-red-400' - )} - > - {formatMoney(profit)} - {' '} - profit - + +
+ = 0 ? 'text-green-600' : 'text-red-400')} + > + {formatMoney(profit)} + {' '} + profit +
+
+ + {formatMoney(user.creatorVolumeCached.allTime)} + {' '} + created volume +
+