File tree 1 file changed +1
-5
lines changed
packages/firestore/src/lite-api 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -328,9 +328,8 @@ export function connectFirestoreEmulator(
328
328
const settings = firestore . _getSettings ( ) ;
329
329
const existingConfig = {
330
330
...settings ,
331
- emultorOptions : firestore . _getEmulatorOptions ( )
331
+ emulatorOptions : firestore . _getEmulatorOptions ( )
332
332
} ;
333
-
334
333
const newHostSetting = `${ host } :${ port } ` ;
335
334
if ( settings . host !== DEFAULT_HOST && settings . host !== newHostSetting ) {
336
335
logWarn (
@@ -344,14 +343,11 @@ export function connectFirestoreEmulator(
344
343
ssl : false ,
345
344
emulatorOptions : options
346
345
} ;
347
-
348
346
// No-op if the new configuration matches the current configuration. This supports SSR
349
347
// enviornments which might call `connectFirestoreEmulator` multiple times as a standard practice.
350
348
if ( deepEqual ( newConfig , existingConfig ) ) {
351
- console . error ( 'DEDB settings are the same!' ) ;
352
349
return ;
353
350
}
354
- console . error ( 'DEDB settings differ!' ) ;
355
351
356
352
firestore . _setSettings ( newConfig ) ;
357
353
You can’t perform that action at this time.
0 commit comments