Skip to content

Commit

Permalink
docs: Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
bprusinowski committed Jan 6, 2025
1 parent 64e67b4 commit 71879fd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/charts/shared/containers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ export const ChartContainer = ({ children }: { children: ReactNode }) => {

return (
<div
// Re-mount to prevent issues with useSize hook when switching between
// chart types (that might have different sizes).
key={chartConfig.chartType}
ref={ref}
aria-hidden="true"
Expand Down

0 comments on commit 71879fd

Please sign in to comment.