Skip to content

Commit

Permalink
fix: chart tree memoized data should change with translation
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlougheed committed Nov 1, 2023
1 parent e1be913 commit 7786684
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/components/Overview/Drawer/ChartTree.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const ChartTree = ({ charts, section }: ChartTreeProps) => {
),
key: id,
})),
[charts]
[charts, t]
);

const onChartDrop: TreeProps['onDrop'] = useMemo(() => {
Expand Down

0 comments on commit 7786684

Please sign in to comment.