File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
packages/firestore/src/lite-api Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -328,9 +328,8 @@ export function connectFirestoreEmulator(
328328 const settings = firestore . _getSettings ( ) ;
329329 const existingConfig = {
330330 ...settings ,
331- emultorOptions : firestore . _getEmulatorOptions ( )
331+ emulatorOptions : firestore . _getEmulatorOptions ( )
332332 } ;
333-
334333 const newHostSetting = `${ host } :${ port } ` ;
335334 if ( settings . host !== DEFAULT_HOST && settings . host !== newHostSetting ) {
336335 logWarn (
@@ -344,14 +343,11 @@ export function connectFirestoreEmulator(
344343 ssl : false ,
345344 emulatorOptions : options
346345 } ;
347-
348346 // No-op if the new configuration matches the current configuration. This supports SSR
349347 // enviornments which might call `connectFirestoreEmulator` multiple times as a standard practice.
350348 if ( deepEqual ( newConfig , existingConfig ) ) {
351- console . error ( 'DEDB settings are the same!' ) ;
352349 return ;
353350 }
354- console . error ( 'DEDB settings differ!' ) ;
355351
356352 firestore . _setSettings ( newConfig ) ;
357353
You can’t perform that action at this time.
0 commit comments