Skip to content

Commit

Permalink
fix(sb): small design tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
Philip London committed Jul 27, 2020
1 parent 43712d2 commit 06eb940
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
Expand Up @@ -8,10 +8,8 @@ const Success: React.FC<Props> = props => {
const isUserEligible =
props.pairs.length && props.eligibility.eligible && props.fiatCurrency
const isUserRejectedOrExpired =
props.userData &&
props.userData.kycState &&
(props.userData.kycState === 'REJECTED' ||
props.userData.kycState === 'EXPIRED')
props.userData.kycState === 'REJECTED' ||
props.userData.kycState === 'EXPIRED'

useEffect(() => {
props.analyticsActions.logEvent([
Expand Down
Expand Up @@ -74,7 +74,7 @@ class Payments extends PureComponent<InjectedFormProps<{}, Props> & Props> {
case 'PAYMENT_CARD':
return (
<IconContainer>
<Icon size='18px' color='blue600' name='bank-filled' />
<Icon size='18px' color='blue600' name='credit-card' />
</IconContainer>
)
case 'USER_CARD':
Expand All @@ -93,7 +93,7 @@ class Payments extends PureComponent<InjectedFormProps<{}, Props> & Props> {
case 'FUNDS':
return (
<Icon
size='32px'
size='30px'
color='fiat'
name={value.currency.toLowerCase() as 'eur' | 'gbp'}
/>
Expand Down

0 comments on commit 06eb940

Please sign in to comment.