From 32f9a8b1d1ade34c77586bc51e46be6d6f2e4de9 Mon Sep 17 00:00:00 2001 From: Alex Freska Date: Mon, 20 Nov 2023 11:14:26 -0500 Subject: [PATCH] fix: hostd unused prop error --- apps/hostd/components/Home/HomeBandwidth.tsx | 1 - apps/hostd/components/Home/HomeCollateral.tsx | 1 - apps/hostd/components/Home/HomeContracts.tsx | 1 - apps/hostd/components/Home/HomeOperations.tsx | 1 - apps/hostd/components/Home/HomePricing.tsx | 1 - apps/hostd/components/Home/HomeRevenue.tsx | 1 - apps/hostd/components/Home/HomeStorage.tsx | 1 - 7 files changed, 7 deletions(-) diff --git a/apps/hostd/components/Home/HomeBandwidth.tsx b/apps/hostd/components/Home/HomeBandwidth.tsx index d71802d6a..c3340f7f7 100644 --- a/apps/hostd/components/Home/HomeBandwidth.tsx +++ b/apps/hostd/components/Home/HomeBandwidth.tsx @@ -39,7 +39,6 @@ export function HomeBandwidth() { data={bandwidth.data} config={bandwidth.config} isLoading={bandwidth.isLoading} - chartType={bandwidth.chartType} actionsLeft={ <> diff --git a/apps/hostd/components/Home/HomeCollateral.tsx b/apps/hostd/components/Home/HomeCollateral.tsx index c0b0d56b3..530859865 100644 --- a/apps/hostd/components/Home/HomeCollateral.tsx +++ b/apps/hostd/components/Home/HomeCollateral.tsx @@ -45,7 +45,6 @@ export function HomeCollateral() { data={collateral.data} config={collateral.config} isLoading={collateral.isLoading} - chartType={collateral.chartType} height={300} /> diff --git a/apps/hostd/components/Home/HomeContracts.tsx b/apps/hostd/components/Home/HomeContracts.tsx index f6ad80d88..b9399ca92 100644 --- a/apps/hostd/components/Home/HomeContracts.tsx +++ b/apps/hostd/components/Home/HomeContracts.tsx @@ -57,7 +57,6 @@ export function HomeContracts() { data={contracts.data} config={contracts.config} isLoading={contracts.isLoading} - chartType={contracts.chartType} height={300} /> diff --git a/apps/hostd/components/Home/HomeOperations.tsx b/apps/hostd/components/Home/HomeOperations.tsx index faca2c5a8..604cf3965 100644 --- a/apps/hostd/components/Home/HomeOperations.tsx +++ b/apps/hostd/components/Home/HomeOperations.tsx @@ -62,7 +62,6 @@ export function HomeOperations() { data={operations.data} config={operations.config} isLoading={operations.isLoading} - chartType={operations.chartType} actionsLeft={ <> diff --git a/apps/hostd/components/Home/HomePricing.tsx b/apps/hostd/components/Home/HomePricing.tsx index 578181c19..40a995f8a 100644 --- a/apps/hostd/components/Home/HomePricing.tsx +++ b/apps/hostd/components/Home/HomePricing.tsx @@ -98,7 +98,6 @@ export function HomePricing() { data={pricing.data} config={pricing.config} isLoading={pricing.isLoading} - chartType={pricing.chartType} actionsLeft={ <> diff --git a/apps/hostd/components/Home/HomeRevenue.tsx b/apps/hostd/components/Home/HomeRevenue.tsx index 5a4a17e12..21fa56118 100644 --- a/apps/hostd/components/Home/HomeRevenue.tsx +++ b/apps/hostd/components/Home/HomeRevenue.tsx @@ -78,7 +78,6 @@ export function HomeRevenue() { data={revenue.data} config={revenue.config} isLoading={revenue.isLoading} - chartType={revenue.chartType} actionsLeft={ <> diff --git a/apps/hostd/components/Home/HomeStorage.tsx b/apps/hostd/components/Home/HomeStorage.tsx index cf321c633..d0383883a 100644 --- a/apps/hostd/components/Home/HomeStorage.tsx +++ b/apps/hostd/components/Home/HomeStorage.tsx @@ -41,7 +41,6 @@ export function HomeStorage() { data={storage.data} config={storage.config} isLoading={storage.isLoading} - chartType={storage.chartType} actionsLeft={ <>