Skip to content

Commit

Permalink
fix: polling check
Browse files Browse the repository at this point in the history
  • Loading branch information
noe132 committed Sep 8, 2022
1 parent fd86694 commit 3fce8b0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/service/shadowRoot/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,11 @@ const pollingCheck = () => {
if (!document.body.contains(icibaRoot)) {
document.body.append(icibaRoot)
}
setTimeout(pollingCheck, 500);
setTimeout(pollingCheck, 500)
}

pollingCheck()

export const shadowRoot = (() => {
let sr: ShadowRoot

Expand Down

0 comments on commit 3fce8b0

Please sign in to comment.