Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
miko committed Aug 29, 2023
1 parent f7f551c commit cc1eda9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/modal/modalRemoveAccount/thunk.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export function doRemoveAccountSequence() {
throw new Error('`cardDetails` is undefined');
}

//Wipe content/credits
// Wipe content/credits
const totalBalance = selectTotalBalance(state);
const isWalletEmpty = totalBalance <= 0.005; // Allows avoiding some possible issues with txo_spend and sending credits
if (!isWalletEmpty) {
Expand All @@ -57,7 +57,7 @@ export function doRemoveAccountSequence() {
await dispatch(doSendCreditsToOdysee());
}

//Send deletion request
// Send deletion request
if (!state.user.user?.pending_deletion) {
await dispatch(doUserDeleteAccount());
setTimeout(() => {
Expand Down

0 comments on commit cc1eda9

Please sign in to comment.