Skip to content

Commit

Permalink
fix(dashboard): Prevent rerendering View Query modal on window resize (
Browse files Browse the repository at this point in the history
…apache#15172)

* fix(dashboard): Prevent rerendering View Query modal on window resize

* Fix lint
  • Loading branch information
kgabryje authored and cccs-RyanS committed Dec 17, 2021
1 parent 582e866 commit bfa3005
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -80,7 +80,7 @@ const ViewQueryModal: React.FC<Props> = props => {
};
useEffect(() => {
loadChartData('query');
}, [props.latestQueryFormData]);
}, [JSON.stringify(props.latestQueryFormData)]);

if (isLoading) {
return <Loading />;
Expand Down

0 comments on commit bfa3005

Please sign in to comment.