From d0c7a053a69d093d68a53657bb060a72e7879fb1 Mon Sep 17 00:00:00 2001 From: TopETH Date: Fri, 1 Dec 2023 03:46:08 -0500 Subject: [PATCH] fix: hide original csv download menu --- src/components/account/AccounDelegateHistoryChart.tsx | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/components/account/AccounDelegateHistoryChart.tsx b/src/components/account/AccounDelegateHistoryChart.tsx index 58b6ef66..9322582c 100644 --- a/src/components/account/AccounDelegateHistoryChart.tsx +++ b/src/components/account/AccounDelegateHistoryChart.tsx @@ -22,6 +22,12 @@ const spinnerContainer = css` justify-content: center; `; +const hideCSVDownload = css` + .exportCSV { + display: none; + } +`; + export type AccounDelegateHistoryChartProps = { account: string; delegateHistory: AccountDelegateHistoryResponse; @@ -163,6 +169,7 @@ export const AccounDelegateHistoryChart = ( ) : (