Skip to content
Snippets Groups Projects
Commit 019921ff authored by Akshit Kr Nagpal's avatar Akshit Kr Nagpal Committed by Saúl Ibarra Corretgé
Browse files

Fixed Error: only one instance of babel-polyfill is allowed

parent 736f2ae1
No related branches found
No related tags found
No related merge requests found
...@@ -95,6 +95,10 @@ class Conference extends Component<Props, State> { ...@@ -95,6 +95,10 @@ class Conference extends Component<Props, State> {
constructor() { constructor() {
super(); super();
// External API will load an instance of babel-polyfill. Hence we
// should remove existing babel-polyfill instance.
delete global._babelPolyfill;
this.state = { this.state = {
isLoading: true isLoading: true
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment