fix(rn,polyfills) fix Performance polyfill

We need to re-override now() to avoid a recursion error. Also I missed the
default export.
pull/9911/head jitsi-meet_6299
Saúl Ibarra Corretgé 4 years ago committed by Saúl Ibarra Corretgé
parent d21eb59f24
commit 3bf1a1774f
  1. 3
      react/features/mobile/polyfills/browser.js

@ -399,7 +399,8 @@ function _visitNode(node, callback) {
const perf = require('react-native-performance');
global.performance = perf;
global.performance = perf.default;
global.performance.now = now;
global.PerformanceObserver = perf.PerformanceObserver;
// CallStats

Loading…
Cancel
Save