Skip to content

Commit

Permalink
Fix redundant refreshing
Browse files Browse the repository at this point in the history
  • Loading branch information
kgabryje committed Apr 19, 2022
1 parent 1a92694 commit 112c4d8
Showing 1 changed file with 1 addition and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -434,14 +434,7 @@ function ExploreViewContainer(props) {
reRenderChart(displayControlsChanged);
}
}
}, [
previousControls,
props.chart.latestQueryFormData.viz_type,
props.controls,
props.form_data.datasource,
props.ownState,
reRenderChart,
]);
}, [props.controls, props.ownState]);

const chartIsStale = useMemo(() => {
if (lastQueriedControls) {
Expand Down

0 comments on commit 112c4d8

Please sign in to comment.