Fix missing sender address on subscription page

This commit is contained in:
silverpill 2022-08-17 20:57:43 +00:00
parent 93fafa250d
commit 69871792cb

View file

@ -9,7 +9,7 @@
> >
<avatar :profile="sender"></avatar> <avatar :profile="sender"></avatar>
<div class="display-name">{{ sender.getDisplayName() }}</div> <div class="display-name">{{ sender.getDisplayName() }}</div>
<div class="wallet-address">{{ sender.getVerifiedEthereumAddress() || '?' }}</div> <div class="wallet-address">{{ walletAddress ? walletAddress.toLowerCase() : '?' }}</div>
</component> </component>
<div class="separator"> <div class="separator">
<img :src="require('@/assets/feather/arrow-right.svg')"> <img :src="require('@/assets/feather/arrow-right.svg')">
@ -222,11 +222,6 @@ async function checkSubscription() {
sender = new ProfileWrapper(profiles[0]) sender = new ProfileWrapper(profiles[0])
} else { } else {
console.warn("can't find profile by wallet address") console.warn("can't find profile by wallet address")
sender.identity_proofs = [{
name: "$ETH",
value: walletAddress.toLowerCase(),
verified_at: null,
}]
} }
const signer = getSigner() const signer = getSigner()
isLoading = true isLoading = true