Skip to content

Commit

Permalink
Use passed data rather than outer scope
Browse files Browse the repository at this point in the history
  • Loading branch information
matschaffer committed Sep 21, 2021
1 parent a4abe34 commit ee2f21c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export const BeatsOverviewPage: React.FC<ComponentProps> = ({ clusters }) => {
if (overviewData === null) {
return null;
}
return <BeatsOverview {...data} onBrush={onBrush} zoomInfo={zoomInfo} />;
return <BeatsOverview {...overviewData} onBrush={onBrush} zoomInfo={zoomInfo} />;
};

return (
Expand Down

0 comments on commit ee2f21c

Please sign in to comment.