chore: Remove setimmediate polyfill (#4903)

* Add setimmediate to dependencies

* Remove use of setimmediate
This commit is contained in:
Tom Moor
2023-02-20 11:24:14 -05:00
committed by GitHub
parent a9e373c72f
commit c33a4103e7
6 changed files with 5 additions and 6 deletions

View File

@@ -30,7 +30,7 @@ class Frame extends React.Component<PropsWithRef> {
componentDidMount() {
this.mounted = true;
setImmediate(this.loadIframe);
setTimeout(this.loadIframe, 0);
}
componentWillUnmount() {