Skip to content
Snippets Groups Projects
Unverified Commit 587fb9b6 authored by Aleksandr Lesnenko's avatar Aleksandr Lesnenko Committed by GitHub
Browse files

use leading debounce for visualizations (#24591)

parent ea9baa51
Branches
Tags
No related merge requests found
......@@ -565,7 +565,7 @@ const mapStateToProps = state => ({
export default _.compose(
ExplicitSize({
selector: ".CardVisualization",
refreshMode: props => (props.isDashboard ? "debounce" : "throttle"),
refreshMode: props => (props.isDashboard ? "debounceLeading" : "throttle"),
}),
connect(mapStateToProps),
memoizeClass("_getQuestionForCardCached"),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment