From 4b5ca481902d47056f0eeb70a095ad2a4207f6d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Oliveira?= Date: Fri, 2 Jul 2021 01:30:55 +0100 Subject: [PATCH] refactor: rename table cell component --- new-lamassu-admin/src/pages/Assets/Assets.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/new-lamassu-admin/src/pages/Assets/Assets.js b/new-lamassu-admin/src/pages/Assets/Assets.js index d29427c3..dd160ea6 100644 --- a/new-lamassu-admin/src/pages/Assets/Assets.js +++ b/new-lamassu-admin/src/pages/Assets/Assets.js @@ -15,7 +15,7 @@ import { H4, Label2, P, Info2 } from 'src/components/typography' import styles from './Assets.styles' const useStyles = makeStyles(styles) -const StyledCell = withStyles({ +const Cell = withStyles({ root: { borderBottom: '4px solid white', padding: 0, @@ -67,27 +67,27 @@ const AssetsAmountTable = ({ title, data = [], numToRender }) => { if (idx < numToRender) { return ( - +

{asset.display}

-
- + +

{`${selectAmountPrefix(asset)} ${formatCurrency(Math.abs(asset.amount))} ${ asset.currency }`}

-
+
) } return null })} - + {`Total ${R.toLower(title)}`} - - + + {`${formatCurrency(totalAmount)} ${currency}`} - +