Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
TestData: Remove useEffect that triggeres query on component load #28321
Conversation
|
LGTM! |
| useEffect(() => { | ||
| onUpdate(query); | ||
| }, []); | ||
|
|
Clarity-89
Oct 19, 2020
Contributor
Hmm, strange, I remember the graphs weren't rendered properly on page reload after saving dashboard, so that's why I added this call on mount, but I just checked it again and it works without it too.
Hmm, strange, I remember the graphs weren't rendered properly on page reload after saving dashboard, so that's why I added this call on mount, but I just checked it again and it works without it too.
…8321) * TestData: Remove useEffect that triggeres query on component load * Updated * Update e2e spec
…8321) * TestData: Remove useEffect that triggeres query on component load * Updated * Update e2e spec


Fixes so that testdata does not issue queries when the query editor is loaded, and fixes so the scenario api is not called for every query