cancel it

This commit is contained in:
Jordan Vidrine
2025-03-05 20:25:49 -06:00
parent 525e0434d9
commit 05a0917967
@@ -12,7 +12,7 @@ export default class ExperimentalScreen extends Component {
willDestroy() {
super.willDestroy(...arguments);
window.removeEventListener("resize", this.calculateDistance);
cancel(this._throttledCalculateDistanceHandler);
}
getDistance(element) {