chore: Remove setimmediate polyfill (#4903)
* Add setimmediate to dependencies * Remove use of setimmediate
This commit is contained in:
@@ -30,7 +30,7 @@ class Frame extends React.Component<PropsWithRef> {
|
||||
|
||||
componentDidMount() {
|
||||
this.mounted = true;
|
||||
setImmediate(this.loadIframe);
|
||||
setTimeout(this.loadIframe, 0);
|
||||
}
|
||||
|
||||
componentWillUnmount() {
|
||||
|
||||
Reference in New Issue
Block a user