Skip to content

Commit 0dd1e0c

Browse files
committed
Get rid of unnecessary await in await client.configuration
1 parent 09915c0 commit 0dd1e0c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/firestore/src/core/firestore_client.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,10 +254,9 @@ export async function setOnlineComponentProvider(
254254
const offlineComponentProvider = await ensureOfflineComponents(client);
255255

256256
logDebug(LOG_TAG, 'Initializing OnlineComponentProvider');
257-
const configuration = await client.configuration;
258257
await onlineComponentProvider.initialize(
259258
offlineComponentProvider,
260-
configuration
259+
client.configuration
261260
);
262261
// The CredentialChangeListener of the online component provider takes
263262
// precedence over the offline component provider.

0 commit comments

Comments
 (0)