diff --git a/components/OverviewDataGrowthNew.tsx b/components/OverviewDataGrowthNew.tsx index d52747a..2592f59 100644 --- a/components/OverviewDataGrowthNew.tsx +++ b/components/OverviewDataGrowthNew.tsx @@ -1,19 +1,10 @@ import styles from "@components/OverviewDataGrowthNew.module.scss"; -import { bytesToSize } from "@root/common/utilities"; import GutterContainer from "./GutterContainer"; export default function OverviewDataGrowthNew({ - totalClients, totalClientCount, + totalDataOnboarded, }) { - const totalDataOnboarded = totalClients.reduce((acc, client) => { - const initialAllowance = BigInt(client.initialAllowance); - const allowance = BigInt(client.allowance); - return acc + (initialAllowance - allowance); - }, BigInt(0)); - - const totalInitialAllowance = bytesToSize(totalDataOnboarded); - return (