Skip to content
This repository has been archived by the owner on Oct 26, 2021. It is now read-only.

Ramp Instant - Buy ETH/DAI #490

Open
wants to merge 2 commits into
base: latest
Choose a base branch
from

Conversation

gkapkowski
Copy link

Changelog

@ricburton
Copy link
Member

🙌 Preview this pull request.

Built with commit 4cae283

https://deploy-preview-490--balance-manager.netlify.com

onBuy = () => {
let widget = new RampInstantSDK({
hostAppName: 'Balance Manager',
hostLogoUrl: `https://localhost:3000${balanceManagerLogo}`,
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do you think? Put this in ENV.

<StyledIcon color="grey" icon={arrowUp} />
{lang.t('modal.buy_title', {
walletName: capitalize(
`${this.props.accountType}${lang.t('modal.default_wallet')}`,
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Repetitive use of this.props. I suggest you destructure props.

left
isModalButton
color="blue"
disabled={!Number(this.props.assetAmount)}
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Incomplete logic. What if assetAmount is 0?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants