Skip to content

Commit

Permalink
fix: fix macroAccordion lineChart
Browse files Browse the repository at this point in the history
  • Loading branch information
Armanpreet Ghotra committed Dec 19, 2024
1 parent 786e982 commit 38749c5
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions src/operations/map/FcsMacroEconomicOperations.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export function getMacroEconomicAccordionOperations(
content: (
<div>
{currencyExchangeChartData ? (
<LineChart data={currencyExchangeChartData} expandable xAxisSlider small noPadding transparentBackground />
<LineChart data={currencyExchangeChartData} small noPadding transparentBackground />
) : (
<p>No data about currency exchange</p>
)}
Expand All @@ -60,7 +60,7 @@ export function getMacroEconomicAccordionOperations(
content: (
<div>
{balanceOfTradeChartData ? (
<LineChart data={balanceOfTradeChartData} expandable xAxisSlider small noPadding transparentBackground />
<LineChart data={balanceOfTradeChartData} small noPadding transparentBackground />
) : (
<p>No data about balance of trade</p>
)}
Expand All @@ -74,15 +74,7 @@ export function getMacroEconomicAccordionOperations(
content: (
<div>
{headlineAndFoodInflationChartData ? (
<LineChart
data={headlineAndFoodInflationChartData}
expandable
xAxisSlider
barChartSwitch
small
noPadding
transparentBackground
/>
<LineChart data={headlineAndFoodInflationChartData} small noPadding transparentBackground />
) : (
<p>No data about headline and food inflation</p>
)}
Expand Down

0 comments on commit 38749c5

Please sign in to comment.