Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
billyvg committed Feb 16, 2023
1 parent 48e8bf3 commit 48483f6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/replay/src/util/debounce.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ export function debounce(func: CallbackFunction, wait: number, options?: Debounc
if (maxWait && maxTimerId === undefined) {
maxTimerId = setTimeout(() => {
invokeFunc();
if (timerId) { clearTimeout(timerId)}
if (timerId) {
clearTimeout(timerId);
}
}, maxWait);
}

Expand Down

0 comments on commit 48483f6

Please sign in to comment.