Skip to content

Commit

Permalink
feat: code cleanup after review
Browse files Browse the repository at this point in the history
  • Loading branch information
milan-bc committed Jul 22, 2020
1 parent 32c827d commit c6c2955
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 23 deletions.
Expand Up @@ -4,7 +4,7 @@ const MultiRowContainer = styled.div`
position: relative;
display: flex;
flex-direction: column;
width: 230px;
width: 100%;
color: ${props => props.theme.grey800};
margin-left: 16px;
`
Expand Down
Expand Up @@ -93,27 +93,6 @@ const Success: React.FC<Props> = props => {
<div style={{ margin: '16px 0' }}>
<Status {...props} />
</div>
{/* {props.order.state === 'PENDING_DEPOSIT' &&
!props.order.paymentMethodId && (
<Button
fullwidth
data-e2e='sbViewDetails'
size='16px'
height='48px'
nature='primary'
onClick={() =>
props.simpleBuyActions.setStep({
step: 'TRANSFER_DETAILS',
fiatCurrency: props.fiatCurrency
})
}
>
<FormattedMessage
id='modals.simplebuy.summary.viewtransferdets'
defaultMessage='View Bank Transfer Details'
/>
</Button>
)} */}
</FlyoutWrapper>
<Row>
<Title color='grey600' size='14px' weight={500}>
Expand Down
Expand Up @@ -101,7 +101,7 @@ class Payments extends PureComponent<InjectedFormProps<{}, Props> & Props> {
<Icon
size='32px'
color='fiat'
name={value.currency === 'EUR' ? 'eur' : 'gbp'}
name={value.currency.toLowerCase() as 'eur' | 'gbp'}
/>
)
}
Expand Down

0 comments on commit c6c2955

Please sign in to comment.