From daf108d1391b2e5d45c23eccda60bb6a717f1058 Mon Sep 17 00:00:00 2001 From: Patrick Browne Date: Thu, 28 Nov 2024 10:18:17 +0100 Subject: [PATCH] refactor: Make id non optional as legend always needs to be screenshotted --- src/components/price-color-legend.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/price-color-legend.tsx b/src/components/price-color-legend.tsx index dcfb7c0d..f754d888 100644 --- a/src/components/price-color-legend.tsx +++ b/src/components/price-color-legend.tsx @@ -29,7 +29,7 @@ export const MapPriceColorLegend = ({ id, }: { stats: [number | undefined, number | undefined, number | undefined]; - id?: string; + id: string; }) => { const formatCurrency = useFormatCurrency(); const [open, setOpen] = useState(true);