File tree Expand file tree Collapse file tree 2 files changed +2
-15
lines changed
src/containers/shared/components/Transaction/AccountDelete Expand file tree Collapse file tree 2 files changed +2
-15
lines changed Original file line number Diff line number Diff line change @@ -6,14 +6,7 @@ import { TransactionSimpleProps } from '../types'
66import { Account } from '../../Account'
77import { CredentialIDs } from '../CredentialIDs'
88
9- // Extend the AccountDelete type to include CredentialIDs
10- interface AccountDeleteWithCredentials extends AccountDelete {
11- CredentialIDs ?: string [ ]
12- }
13-
14- export const Simple = ( {
15- data,
16- } : TransactionSimpleProps < AccountDeleteWithCredentials > ) => {
9+ export const Simple = ( { data } : TransactionSimpleProps < AccountDelete > ) => {
1710 const { t } = useTranslation ( )
1811 const tx = data . instructions
1912
Original file line number Diff line number Diff line change @@ -7,15 +7,9 @@ import {
77
88import { Simple } from './Simple'
99
10- // Extend the AccountDelete type to include CredentialIDs
11- interface AccountDeleteWithCredentials extends AccountDelete {
12- CredentialIDs ?: string [ ]
13- }
14-
1510export const AccountDeleteTransaction : TransactionMapping = {
1611 Simple,
1712 action : TransactionAction . CANCEL ,
1813 category : TransactionCategory . ACCOUNT ,
19- parser : ( tx : AccountDeleteWithCredentials ) : AccountDeleteWithCredentials =>
20- tx ,
14+ parser : ( tx : AccountDelete ) : AccountDelete => tx ,
2115}
You can’t perform that action at this time.
0 commit comments