Skip to content

Commit 9957ab7

Browse files
committed
fix: mitigates the infinite loading issue while the root cause is being investigated
Addresses #710 #714 PR: #714
1 parent a8d9ac6 commit 9957ab7

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/hooks/useLoadScript.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,5 @@ export function useLoadScript(
5151
if (!foundScript) {
5252
document.head.append(script);
5353
}
54-
55-
return () => {
56-
script.removeEventListener("load", onLoadWithMarker);
57-
58-
if (onError) {
59-
script.removeEventListener("error", onError);
60-
}
61-
};
6254
}, []);
6355
}

0 commit comments

Comments
 (0)