Skip to content

Commit

Permalink
fix(tier-card): allow users to click anywhere on the card
Browse files Browse the repository at this point in the history
  • Loading branch information
jjBlockchain committed Jul 24, 2019
1 parent 65f8eda commit bd90d8a
Showing 1 changed file with 5 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ const Wrapper = styled.div`
box-shadow: none;
opacity: 0.9;
}
&:hover {
cursor: pointer;
}
${media.laptop`
width: 100%;
&.column {
Expand Down Expand Up @@ -130,7 +133,7 @@ export const TierCard = ({
if (isRejected) className += ' rejected'

return (
<Wrapper className={className}>
<Wrapper className={className} onClick={verifyIdentity}>
{tier === 2 && (
<Announcement uppercase weight={500} size='18px' color='white'>
<FormattedMessage
Expand Down Expand Up @@ -189,12 +192,7 @@ export const TierCard = ({
</Row>
</Content>
{tierData.state === TIERS_STATES.NONE && (
<ActionButton
jumbo
fullwidth
nature='primary'
onClick={verifyIdentity}
>
<ActionButton jumbo fullwidth nature='primary'>
{tierStarted ? (
<FormattedMessage
id='components.identityverification.tiercard.continue'
Expand Down

0 comments on commit bd90d8a

Please sign in to comment.