From 019921ffe61eb11438cca24db3fcf0b5f558b0f2 Mon Sep 17 00:00:00 2001 From: Akshit Kr Nagpal Date: Tue, 10 Jul 2018 15:10:47 +0530 Subject: [PATCH] Fixed Error: only one instance of babel-polyfill is allowed --- app/features/conference/components/Conference.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/features/conference/components/Conference.js b/app/features/conference/components/Conference.js index a4b6d0d..63b40df 100644 --- a/app/features/conference/components/Conference.js +++ b/app/features/conference/components/Conference.js @@ -95,6 +95,10 @@ class Conference extends Component { 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 };