mirror of
https://github.com/apache/superset.git
synced 2026-05-12 19:35:17 +00:00
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:
committed by
GitHub
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 />;
|
||||
|
||||
Reference in New Issue
Block a user