Ask confirmation before verifying wallet address
This commit is contained in:
parent
7663c2e8e2
commit
406c78c5fa
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue