Ask confirmation before verifying wallet address

This commit is contained in:
silverpill 2022-07-03 20:07:02 +00:00
parent 7663c2e8e2
commit 406c78c5fa

View file

@ -381,6 +381,9 @@ export default class ProfileView extends Vue {
if (!this.profile || !this.isCurrentUser()) {
return
}
if (!confirm("This action will link your wallet address to your profile. Continue?")) {
return
}
const signer = await getWallet()
if (!signer) {
return