Skip to content

Commit

Permalink
fix: interval name typo
Browse files Browse the repository at this point in the history
  • Loading branch information
emuvente committed Dec 1, 2023
1 parent b4373a7 commit 3bae129
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions @kiva/kv-analytics/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,10 @@ async function waitOnLibraries() {
resolve(false);
}, 5000);

const intervalId = setInterval(() => {
interval = setInterval(() => {
if (checkLibrariesLoaded()) {
clearTimeout(timeout);
clearInterval(intervalId);
clearInterval(interval);
resolve(true);
}
}, 100);
Expand Down

0 comments on commit 3bae129

Please sign in to comment.