diff --git a/frontend/src/pages/MarketView.tsx b/frontend/src/pages/MarketView.tsx index 02f0220..0fb0093 100644 --- a/frontend/src/pages/MarketView.tsx +++ b/frontend/src/pages/MarketView.tsx @@ -1250,7 +1250,7 @@ const RateHistoryModalComponent: React.FC<{ modal: RateHistoryModal; onClose: () layout={{ margin: { t: 10, r: 10, b: 65, l: 55 }, height: 300, - legend: { orientation: 'h', y: -0.3, namelength: -1 }, + legend: { orientation: 'h', y: -0.3, namelength: -1 } as any, xaxis: { title: { text: '' }, tickformat: '%d %b %H:%M', type: 'date' }, yaxis: { title: { text: 'Rate (£)' }, tickprefix: '£', tickformat: ',.0f' }, plot_bgcolor: 'var(--body-bg)',