Skip to content

Commit 48483f6

Browse files
committed
lint
1 parent 48e8bf3 commit 48483f6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/replay/src/util/debounce.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,9 @@ export function debounce(func: CallbackFunction, wait: number, options?: Debounc
6060
if (maxWait && maxTimerId === undefined) {
6161
maxTimerId = setTimeout(() => {
6262
invokeFunc();
63-
if (timerId) { clearTimeout(timerId)}
63+
if (timerId) {
64+
clearTimeout(timerId);
65+
}
6466
}, maxWait);
6567
}
6668

0 commit comments

Comments
 (0)