Skip to content

Commit d281284

Browse files
committed
fix if condition
1 parent 5e128c9 commit d281284

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages-exp/app-compat/src/lite/firebaseNamespaceLite.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ export function createFirebaseNamespaceLite(): FirebaseNamespace {
4040
// only allow performance to register with firebase lite
4141
if (
4242
component.type === ComponentType.PUBLIC &&
43-
component.name.includes('performance') &&
44-
component.name.includes('installations')
43+
!component.name.includes('performance') &&
44+
!component.name.includes('installations')
4545
) {
4646
throw Error(`${name} cannot register with the standalone perf instance`);
4747
}

0 commit comments

Comments
 (0)