Skip to content

Commit

Permalink
refactor: Make id non optional as legend always needs to be screensho…
Browse files Browse the repository at this point in the history
…tted
  • Loading branch information
ptbrowne committed Nov 28, 2024
1 parent ab5c631 commit daf108d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/price-color-legend.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit daf108d

Please sign in to comment.