Fix: Remove last traces of custom Destination handling!

This commit is contained in:
muzam1l
2023-03-23 16:47:25 +05:30
parent da28e0a7d1
commit b653d9a9cb
2 changed files with 0 additions and 8 deletions

View File

@@ -14,11 +14,4 @@ export const deleteAccount = (addr?: string) => {
if (!acc) return
acc.label = acc.value
})
transactionsState.transactions
.filter(t => t.state.selectedDestAccount?.value === addr)
.forEach(t => {
const acc = t.state.selectedDestAccount
if (!acc) return
acc.label = acc.value
})
}

View File

@@ -50,7 +50,6 @@ export type TxFields = Omit<
export const defaultTransaction: TransactionState = {
selectedTransaction: null,
selectedAccount: null,
selectedDestAccount: null,
selectedFlags: null,
hookParameters: {},
memos: {},