+ {chartToShow === 'account-value' ? (
+
+ ) : chartToShow === 'pnl' ? (
+
+ ) : (
+
({
+ interest_value:
+ d.borrow_interest_cumulative_usd +
+ d.deposit_interest_cumulative_usd,
+ time: d.time,
+ }))}
+ hideChart={handleHideChart}
+ mangoAccount={mangoAccount!}
+ yKey="interest_value"
+ />
+ )}
+
)
}