rusackas commented on a change in pull request #13719:
URL: https://github.com/apache/superset/pull/13719#discussion_r606075956
##########
File path: superset-frontend/src/explore/exploreUtils/index.js
##########
@@ -303,11 +303,13 @@ export const useDebouncedEffect = (effect, delay, deps)
=> {
const callback = useCallback(effect, deps);
useEffect(() => {
+ // const handler = window.setTimeout(() => {
Review comment:
Delete comment?
##########
File path: superset-frontend/src/explore/exploreUtils/index.js
##########
@@ -303,11 +303,13 @@ export const useDebouncedEffect = (effect, delay, deps)
=> {
const callback = useCallback(effect, deps);
useEffect(() => {
+ // const handler = window.setTimeout(() => {
const handler = setTimeout(() => {
callback();
}, delay);
return () => {
+ // window.clearTimeout(handler);
Review comment:
Delete comment?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]