WA-521 Typo confirmation instead of confirmed to tx's config types
This commit is contained in:
parent
dd7cd3707b
commit
2e3f7781c6
|
@ -29,7 +29,7 @@ type Props = Open & WithStyles & {
|
||||||
|
|
||||||
const GnoConfirmation = ({ owner, type, hash }: ConfirmationProps) => {
|
const GnoConfirmation = ({ owner, type, hash }: ConfirmationProps) => {
|
||||||
const address = owner.get('address')
|
const address = owner.get('address')
|
||||||
const confirmed = type === 'confirmed'
|
const confirmed = type === 'confirmation'
|
||||||
const text = confirmed ? 'Confirmed' : 'Not confirmed'
|
const text = confirmed ? 'Confirmed' : 'Not confirmed'
|
||||||
const hashText = confirmed ? `Confirmation hash: ${hash}` : undefined
|
const hashText = confirmed ? `Confirmation hash: ${hash}` : undefined
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,7 @@ class Transactions extends React.Component<Props, {}> {
|
||||||
const ownerAddress = confirmation.get('owner').get('address')
|
const ownerAddress = confirmation.get('owner').get('address')
|
||||||
const samePerson = sameAddress(ownerAddress, userAddress)
|
const samePerson = sameAddress(ownerAddress, userAddress)
|
||||||
|
|
||||||
return samePerson && confirmation.get('type') === 'confirmed'
|
return samePerson && confirmation.get('type') === 'confirmation'
|
||||||
}).count() > 0
|
}).count() > 0
|
||||||
|
|
||||||
if (userHasAlreadyConfirmed) {
|
if (userHasAlreadyConfirmed) {
|
||||||
|
|
Loading…
Reference in New Issue