diff --git a/src/activate_bugsnag.ts b/src/activate_bugsnag.ts deleted file mode 100644 index 1f77e6185..000000000 --- a/src/activate_bugsnag.ts +++ /dev/null @@ -1,18 +0,0 @@ -import React from 'react'; -import Bugsnag from '@bugsnag/js'; -import BugsnagPluginReact from '@bugsnag/plugin-react'; - -let isActivatedBugsnag = false; - -export function activateBugsnag(apiKey: string): void { - if (isActivatedBugsnag) { - return; - } - - Bugsnag.start({ - apiKey, - plugins: [new BugsnagPluginReact(React)], - }); - - isActivatedBugsnag = true; -}