chore: Minor fix

This commit is contained in:
iamsivin
2024-02-13 13:06:06 +05:30
parent f19474c681
commit ac4ce529bf
@@ -122,10 +122,12 @@ export default {
const { SMALL_SCREEN_BREAKPOINT, LAYOUT_TYPES } = wootConstants;
let throttled = false;
const delay = 150;
if (throttled) {
return;
}
throttled = true;
setTimeout(() => {
throttled = false;
if (window.innerWidth <= SMALL_SCREEN_BREAKPOINT) {