Skip to content

Commit 6f71d46

Browse files
committed
Just importing performance is destablizing the app
1 parent dcdf8bc commit 6f71d46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/performance/performance.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export class AngularFirePerformance {
3131
) {
3232

3333
// @ts-ignore zapping in the UMD in the build script
34-
const requirePerformance = from(import('firebase/performance'));
34+
const requirePerformance = from(zone.runOutsideAngular(() => import('firebase/performance')));
3535

3636
this.performance = requirePerformance.pipe(
3737
// SEMVER while < 6 need to type, drop next major

0 commit comments

Comments
 (0)