WA-521 Typo confirmation instead of confirmed to tx's config types

This commit is contained in:
apanizo 2018-08-17 11:39:10 +02:00
parent dd7cd3707b
commit 2e3f7781c6
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ type Props = Open & WithStyles & {
const GnoConfirmation = ({ owner, type, hash }: ConfirmationProps) => {
const address = owner.get('address')
const confirmed = type === 'confirmed'
const confirmed = type === 'confirmation'
const text = confirmed ? 'Confirmed' : 'Not confirmed'
const hashText = confirmed ? `Confirmation hash: ${hash}` : undefined

View File

@ -27,7 +27,7 @@ class Transactions extends React.Component<Props, {}> {
const ownerAddress = confirmation.get('owner').get('address')
const samePerson = sameAddress(ownerAddress, userAddress)
return samePerson && confirmation.get('type') === 'confirmed'
return samePerson && confirmation.get('type') === 'confirmation'
}).count() > 0
if (userHasAlreadyConfirmed) {