Fixed legend not updating correctly.

This commit is contained in:
Mike Cao 2024-04-01 21:33:04 -07:00
parent 6767f95c0d
commit a695f6d516
3 changed files with 5 additions and 4 deletions

View file

@ -38,7 +38,7 @@ export function PageviewsChart({ data, unit, isLoading, ...props }: PageviewsCha
},
],
};
}, [data]);
}, [data, locale]);
return (
<BarChart