Skip to content

Commit

Permalink
Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
Duddino committed Sep 20, 2023
1 parent 32ce913 commit dcb493d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
16 changes: 8 additions & 8 deletions scripts/Activity.vue
Original file line number Diff line number Diff line change
Expand Up @@ -63,17 +63,17 @@ async function update(fNewOnly = false, sync = true) {
if (cNet.historySyncing) return;
let arrTXs;
try {
updating.value = true;
if (txCount !== cNet.arrTxHistory.length || !sync) {
updating.value = true;
if (txCount !== cNet.arrTxHistory.length || !sync) {
arrTXs = cNet.arrTxHistory;
} else {
} else {
arrTXs = await cNet.syncTxHistoryChunk(fNewOnly);
}
txCount = arrTXs.length;
if (!arrTXs || cNet !== getNetwork()) return;
}
txCount = arrTXs.length;
if (!arrTXs || cNet !== getNetwork()) return;
} finally {
updating.value = false;
updating.value = false;
}
// Check if all transactions are loaded
Expand Down
1 change: 0 additions & 1 deletion scripts/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,6 @@ export async function toggleTestnet() {
await updateGovernanceTab();
activityDashboard.reset();
stakingDashboard.reset();

}

export function toggleDebug() {
Expand Down

0 comments on commit dcb493d

Please sign in to comment.