Injecting in redux confirmations type in lowercase to match type
This commit is contained in:
parent
98a402ae75
commit
e6a2d53bdd
|
@ -15,7 +15,7 @@ import addTransactions from './addTransactions'
|
||||||
type ConfirmationServiceModel = {
|
type ConfirmationServiceModel = {
|
||||||
owner: string,
|
owner: string,
|
||||||
submissionDate: Date,
|
submissionDate: Date,
|
||||||
type: TxServiceType,
|
type: string,
|
||||||
transactionHash: string,
|
transactionHash: string,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@ const buildTransactionFrom = (safeAddress: string, tx: TxServiceModel, safeSubje
|
||||||
|
|
||||||
return makeConfirmation({
|
return makeConfirmation({
|
||||||
owner: makeOwner({ address: conf.owner, name: ownerName }),
|
owner: makeOwner({ address: conf.owner, name: ownerName }),
|
||||||
type: conf.type,
|
type: ((conf.type.toLowerCase(): any): TxServiceType),
|
||||||
hash: conf.transactionHash,
|
hash: conf.transactionHash,
|
||||||
})
|
})
|
||||||
}))
|
}))
|
||||||
|
|
Loading…
Reference in New Issue