Skip to content

Commit

Permalink
Remove alerts
Browse files Browse the repository at this point in the history
  • Loading branch information
neuodev committed Jan 26, 2022
1 parent 62d3c90 commit 50b678b
Showing 1 changed file with 0 additions and 10 deletions.
Expand Up @@ -39,11 +39,6 @@ export default class DappConnectorNavbar extends Component<Props> {
]
}, (granted) => {
this.setState({ hasPermission: granted })
if (granted) {
alert('you have the permissions')
} else {
alert('You don\'t')
}
});
}

Expand All @@ -55,11 +50,6 @@ export default class DappConnectorNavbar extends Component<Props> {
]
}, (removed) => {
this.setState({ hasPermission: !removed })
if (removed) {
alert('permissions removed')
} else {
alert('permissions is not removed!')
}
});
}

Expand Down

0 comments on commit 50b678b

Please sign in to comment.