Skip to content

Commit 84487d0

Browse files
jnsdlsMananTank
andauthored
fix(legacy_packages): fix onAuthSuccess not being passed through to… (#2863)
Co-authored-by: Manan Tank <manantankm@gmail.com>
1 parent ddfdfc5 commit 84487d0

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/three-teachers-play.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@thirdweb-dev/react": patch
3+
---
4+
5+
fix `onAuthSuccess` not being passed through to the underlying wallet

legacy_packages/react/src/wallet/wallets/embeddedWallet/embeddedWallet.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ export const embeddedWallet = (
123123
create(walletOptions: WalletOptions) {
124124
return new EmbeddedWallet({
125125
...walletOptions,
126+
...options,
126127
clientId: walletOptions?.clientId ?? "",
127128
});
128129
},

0 commit comments

Comments
 (0)