Skip to content

Commit 3321ae9

Browse files
Fix merge
1 parent 7fbd939 commit 3321ae9

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

packages/firestore/src/core/firestore_client.ts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -201,10 +201,12 @@ export async function setOfflineComponentProvider(
201201
client.setCredentialChangeListener(user => {
202202
if (!currentUser.isEqual(user)) {
203203
currentUser = user;
204-
await localStoreHandleUserChange(
205-
offlineComponentProvider.localStore,
206-
user
207-
);
204+
client.asyncQueue.enqueueRetryable(async () => {
205+
await localStoreHandleUserChange(
206+
offlineComponentProvider.localStore,
207+
user
208+
);
209+
});
208210
}
209211
});
210212

0 commit comments

Comments
 (0)