From d97bfdab90baa014d6ceba5eee05a2e67eb77a9f Mon Sep 17 00:00:00 2001 From: jtricerolph Date: Thu, 9 Jul 2026 23:50:07 +0000 Subject: [PATCH] Fix Plotly namelength type cast --- frontend/src/pages/MarketView.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)',