From d5d969a5ea596577a12e0ec2744e162653b01b2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20S=C3=A1?= Date: Fri, 23 Sep 2022 17:25:41 +0100 Subject: [PATCH] refactor: don't recompute customer status --- new-lamassu-admin/src/pages/Customers/CustomersList.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/new-lamassu-admin/src/pages/Customers/CustomersList.js b/new-lamassu-admin/src/pages/Customers/CustomersList.js index e4d41e7a..9e01fd0a 100644 --- a/new-lamassu-admin/src/pages/Customers/CustomersList.js +++ b/new-lamassu-admin/src/pages/Customers/CustomersList.js @@ -9,7 +9,7 @@ import { ReactComponent as TxInIcon } from 'src/styling/icons/direction/cash-in. import { ReactComponent as TxOutIcon } from 'src/styling/icons/direction/cash-out.svg' import styles from './CustomersList.styles' -import { getAuthorizedStatus, getFormattedPhone, getName } from './helper' +import { getFormattedPhone, getName } from './helper' const useStyles = makeStyles(styles) @@ -73,11 +73,7 @@ const CustomersList = ({ { header: 'Status', width: 191, - view: it => ( - - ) + view: it => } ]