Fixed Error: only one instance of babel-polyfill is allowed
This commit is contained in:
parent
736f2ae1cb
commit
019921ffe6
|
@ -95,6 +95,10 @@ class Conference extends Component<Props, State> {
|
|||
constructor() {
|
||||
super();
|
||||
|
||||
// External API will load an instance of babel-polyfill. Hence we
|
||||
// should remove existing babel-polyfill instance.
|
||||
delete global._babelPolyfill;
|
||||
|
||||
this.state = {
|
||||
isLoading: true
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue