Fix: Remove last traces of custom Destination handling!
This commit is contained in:
		@@ -14,11 +14,4 @@ export const deleteAccount = (addr?: string) => {
 | 
				
			|||||||
      if (!acc) return
 | 
					      if (!acc) return
 | 
				
			||||||
      acc.label = acc.value
 | 
					      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
 | 
					 | 
				
			||||||
    })
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -50,7 +50,6 @@ export type TxFields = Omit<
 | 
				
			|||||||
export const defaultTransaction: TransactionState = {
 | 
					export const defaultTransaction: TransactionState = {
 | 
				
			||||||
  selectedTransaction: null,
 | 
					  selectedTransaction: null,
 | 
				
			||||||
  selectedAccount: null,
 | 
					  selectedAccount: null,
 | 
				
			||||||
  selectedDestAccount: null,
 | 
					 | 
				
			||||||
  selectedFlags: null,
 | 
					  selectedFlags: null,
 | 
				
			||||||
  hookParameters: {},
 | 
					  hookParameters: {},
 | 
				
			||||||
  memos: {},
 | 
					  memos: {},
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user