Skip to content

Commit

Permalink
Fix useEffect unnecessary data causing issues with slate text selection
Browse files Browse the repository at this point in the history
  • Loading branch information
andreiggr committed Sep 16, 2021
1 parent 401e4ed commit 8003cd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ConnectedChart/ConnectedChart.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,13 @@ function ConnectedChart(props) {
if (source_url && !visData) {
getChartDataFromVisualization(source_url);
}

if (provider_url) getDataFromProvider(provider_url || url);
}, [
provider_url,
visData,
url,
source_url,
props.data,
getDataFromProvider,
getChartDataFromVisualization,
]);
Expand Down

0 comments on commit 8003cd6

Please sign in to comment.