mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 01:39:44 +01:00
Fix Buy Ether flow
This commit is contained in:
parent
638bbe0428
commit
945cc5d18d
@ -56,12 +56,13 @@ class BackupPhraseScreen extends Component {
|
||||
};
|
||||
|
||||
constructor(props) {
|
||||
const {seedWords} = props
|
||||
super(props)
|
||||
this.state = {
|
||||
isShowingSecret: false,
|
||||
page: BackupPhraseScreen.PAGE.SECRET,
|
||||
selectedSeeds: [],
|
||||
shuffledSeeds: shuffle(props.seedWords.split(' ')),
|
||||
shuffledSeeds: seedWords && shuffle(seedWords.split(' ')),
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -86,6 +86,8 @@ class BuyEtherScreen extends Component {
|
||||
}
|
||||
|
||||
renderCoinbaseForm() {
|
||||
const {goToCoinbase, address} = this.props;
|
||||
|
||||
return (
|
||||
<div className="buy-ether__action-content-wrapper">
|
||||
<div>{this.renderCoinbaseLogo()}</div>
|
||||
@ -94,7 +96,7 @@ class BuyEtherScreen extends Component {
|
||||
<div className="buy-ether__buttons">
|
||||
<button
|
||||
className="first-time-flow__button"
|
||||
onClick={() => this.goToCoinbase(address)}
|
||||
onClick={() => goToCoinbase(address)}
|
||||
>
|
||||
Buy
|
||||
</button>
|
||||
|
Loading…
Reference in New Issue
Block a user