diff --git a/demo/vue-app-new/src/components/AccountLinkingSection.vue b/demo/vue-app-new/src/components/AccountLinkingSection.vue index 66d6af0d6..12f8ef50d 100644 --- a/demo/vue-app-new/src/components/AccountLinkingSection.vue +++ b/demo/vue-app-new/src/components/AccountLinkingSection.vue @@ -52,6 +52,15 @@ const onLinkAccount = async () => { } }; +const onLinkAccountWithPicker = async () => { + lastUnlinkedAddress.value = null; + const result = await linkAccount(); + if (result) { + await props.refreshUserInfo(); + props.printToConsole("Link Wallet (picker) Result", result); + } +}; + const onUnlinkAccount = async (address: string) => { lastUnlinkedAddress.value = null; pendingUnlinkAddress.value = address; @@ -110,7 +119,9 @@ const getWalletCardClasses = (account: ConnectedAccountInfo): string => { Switch the active wallet here. Non-primary inactive wallets can also be unlinked.

-

+

Total: {{ connectedWallets.length }}

@@ -183,7 +194,11 @@ const getWalletCardClasses = (account: ConnectedAccountInfo): string => { > authConnectionId: {{ account.authConnectionId }}

-

+

Smart account: {{ account.aaAddress }}

@@ -229,7 +244,7 @@ const getWalletCardClasses = (account: ConnectedAccountInfo): string => {

No connected wallets found in user info yet.

- +
Link Wallet

Choose a wallet connector to start the account-linking flow. @@ -238,5 +253,6 @@ const getWalletCardClasses = (account: ConnectedAccountInfo): string => {