diff --git a/src/components/UserDialog/index.tsx b/src/components/UserDialog/index.tsx index 7c64e88..f1485d1 100644 --- a/src/components/UserDialog/index.tsx +++ b/src/components/UserDialog/index.tsx @@ -233,50 +233,10 @@ function UserDialog(props: SimpleDialogProps) { {props.selectedUser?.totalUnits ? Object.entries(props.selectedUser.totalUnits) - .reverse() - .map((tu) => { - return ( - - - - Current Units - - - - {tu[1]?.toString() || 0} - - - - ); - }) - : ""} - {Array.isArray(productionUnitPrice) - ? productionUnitPrice.map((p) => { + .reverse() + .map((tu, i) => { return ( - + - Live Price + Current Units - {p.price?.toString()} + {tu[1]?.toString() || 0} ); }) : ""} + {Array.isArray(productionUnitPrice) + ? productionUnitPrice.map((p, i) => { + return ( + + + + Live Price + + + + {p.price?.toString()} + + + + ); + }) + : ""} Fee @@ -327,12 +327,10 @@ function UserDialog(props: SimpleDialogProps) {