Skip to content

Commit

Permalink
Remove unnecessary async
Browse files Browse the repository at this point in the history
Co-Authored-By: Whymarrh Whitby <[email protected]>
  • Loading branch information
Gudahtt and whymarrh authored Jan 16, 2020
1 parent 22440f9 commit e33de32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/app/store/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ export function removeAccount (address) {

try {
await new Promise((resolve, reject) => {
background.removeAccount(address, async (error, account) => {
background.removeAccount(address, (error, account) => {
if (error) {
return reject(error)
}
Expand Down

0 comments on commit e33de32

Please sign in to comment.