Skip to content

Commit

Permalink
fix: use as value for ext. provider
Browse files Browse the repository at this point in the history
  • Loading branch information
FazioNico committed Jun 28, 2024
1 parent fccc668 commit 32d1543
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/sdk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -439,12 +439,12 @@ export class FirebaseWeb3Connect {
emailVerified: user.emailVerified,
uid: user.uid,
providerId: user.providerId,
providerData: user.providerData[0]?.providerId,
providerData: user.providerData?.[0]?.providerId||'external-wallet',
metaData: user.metadata,
wallets: [this.wallet?.address]
});
} catch(err: any) {
console.log('[ERROR] Set log faild: ', err);
console.error('[ERROR] Set log faild: ', err);
}
}
// reset state if no user connected
Expand Down

0 comments on commit 32d1543

Please sign in to comment.