fix(dashboard): Prevent rerendering View Query modal on window resize (#15172)
* fix(dashboard): Prevent rerendering View Query modal on window resize * Fix lint
This commit is contained in:
parent
53225e8d17
commit
5316dc89a8
|
|
@ -80,7 +80,7 @@ const ViewQueryModal: React.FC<Props> = props => {
|
|||
};
|
||||
useEffect(() => {
|
||||
loadChartData('query');
|
||||
}, [props.latestQueryFormData]);
|
||||
}, [JSON.stringify(props.latestQueryFormData)]);
|
||||
|
||||
if (isLoading) {
|
||||
return <Loading />;
|
||||
|
|
|
|||
Loading…
Reference in New Issue