File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 16
16
*/
17
17
18
18
import { FirebaseNamespace } from './public-types' ;
19
- import { isBrowser , getGlobal } from '@firebase/util' ;
19
+ import { getGlobal } from '@firebase/util' ;
20
20
import { firebase as firebaseNamespace } from './firebaseNamespace' ;
21
21
import { logger } from './logger' ;
22
22
import { registerCoreComponents } from './registerCoreComponents' ;
@@ -39,14 +39,14 @@ try {
39
39
40
40
// eslint-disable-next-line
41
41
const sdkVersion = ( ( globals as any ) . firebase as FirebaseNamespace ) . SDK_VERSION ;
42
- if ( sdkVersion && sdkVersion . indexOf ( 'LITE' ) >= 0 ) {
43
- logger . warn ( `
42
+ if ( sdkVersion && sdkVersion . indexOf ( 'LITE' ) >= 0 ) {
43
+ logger . warn ( `
44
44
Warning: You are trying to load Firebase while using Firebase Performance standalone script.
45
45
You should load Firebase Performance with this instance of Firebase to avoid loading duplicate code.
46
46
` ) ;
47
- }
47
+ }
48
48
}
49
- } catch {
49
+ } catch {
50
50
// ignore errors thrown by getGlobal
51
51
}
52
52
You can’t perform that action at this time.
0 commit comments