File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/firestore/exp/src/api Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ import {
23
23
OfflineComponentProvider ,
24
24
OnlineComponentProvider
25
25
} from '../../../src/core/component_provider' ;
26
- import { LocalStore } from '../../../src/local/local_store' ;
26
+ import { handleUserChange , LocalStore } from '../../../src/local/local_store' ;
27
27
import { Deferred } from '../../../src/util/promise' ;
28
28
import { logDebug } from '../../../src/util/log' ;
29
29
import { SyncEngine } from '../../../src/core/sync_engine' ;
@@ -65,7 +65,7 @@ export async function setOfflineComponentProvider(
65
65
firestore . _queue . enqueueAndForget ( ( ) =>
66
66
// TODO(firestorexp): Make sure handleUserChange is a no-op if user
67
67
// didn't change
68
- offlineComponentProvider . localStore . handleUserChange ( user )
68
+ handleUserChange ( offlineComponentProvider . localStore , user )
69
69
)
70
70
) ;
71
71
// When a user calls clearPersistence() in one client, all other clients
You can’t perform that action at this time.
0 commit comments