mirror of
https://github.com/status-im/MyCrypto.git
synced 2025-02-19 22:38:12 +00:00
reformat
This commit is contained in:
parent
f2b8045c21
commit
192efd4404
@ -20,7 +20,8 @@ class CoinTypeDropDown extends Component {
|
||||
};
|
||||
|
||||
render() {
|
||||
return (<span className="dropdown">
|
||||
return (
|
||||
<span className="dropdown">
|
||||
<select value={this.props.kind}
|
||||
className="btn btn-default"
|
||||
onChange={this.props.onChange.bind(this)}>
|
||||
@ -30,10 +31,9 @@ class CoinTypeDropDown extends Component {
|
||||
})
|
||||
}
|
||||
</select>
|
||||
</span>)
|
||||
</span>
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
export default class WantToSwapMy extends Component {
|
||||
@ -126,7 +126,8 @@ export default class WantToSwapMy extends Component {
|
||||
placeholder="Amount"
|
||||
onChange={(e) => this.onChangeOriginAmount(e.target.value)}
|
||||
value={originAmount}/>
|
||||
<CoinTypeDropDown type={originKind} onChange={this.onChangeOriginKind.bind(this)} kindOptions={originKindOptions}/>
|
||||
<CoinTypeDropDown type={originKind} onChange={this.onChangeOriginKind.bind(this)}
|
||||
kindOptions={originKindOptions}/>
|
||||
|
||||
<h1>{translate('SWAP_init_2')}</h1>
|
||||
|
||||
@ -136,7 +137,8 @@ export default class WantToSwapMy extends Component {
|
||||
placeholder="Amount"
|
||||
value={destinationAmount}
|
||||
onChange={(e) => this.onChangeDestinationAmount(e.target.value)}/>
|
||||
<CoinTypeDropDown type={destinationKind} onChange={this.onChangeDestinationKind.bind(this)} kindOptions={destinationKindOptions}/>
|
||||
<CoinTypeDropDown type={destinationKind} onChange={this.onChangeDestinationKind.bind(this)}
|
||||
kindOptions={destinationKindOptions}/>
|
||||
|
||||
<div className="col-xs-12 clearfix text-center">
|
||||
<a onClick={this.onClickStartSwap} className="btn btn-info btn-lg">
|
||||
|
Loading…
x
Reference in New Issue
Block a user