Commit c22503bb authored by Hayden Adams's avatar Hayden Adams

small changes

parent 6c6aff7c
......@@ -4,14 +4,14 @@ function HelperMessages(props) {
let message = ''
switch (props.interaction) {
case 'connected':
message = "Nice! You're connected. Enter a value below to get started."
message = "Nice! You're connected. Enter an input value below to get started."
break;
case 'input':
message = "You're swapping " + props.inputToken.value + " for " + props.outputToken.value + ". Want to know more about how the prices are determined?"
// message = "Oops, looks like this address doesn't have a enough " + props.inputToken.value + " to make this trade. Add more funds to make this swap."
break;
case 'error1':
message = "You can't swap a token for itself!"
message = "You can't swap a token for itself! 😂"
// message = "Oops, looks like this address doesn't have a enough " + props.inputToken.value + " to make this trade. Add more funds to make this swap."
break;
default:
......
......@@ -5,7 +5,7 @@ function NetworkStatus(props) {
if (isConnected){
return (
<div className="connection border pa2">
<a href={'https://rinkeby.etherscan.io/search?q=' + props.address}>{props.address}</a>
<a href={'https://rinkeby.etherscan.io/search?q=' + props.address} target="_blank">{props.address}</a>
<p></p>
</div>
)
......
......@@ -12,7 +12,7 @@ class SelectToken extends Component {
handleChange = (selectedOption) => {
this.setState({ selectedOption })
this.props.onSelectToken(selectedOption, this.props.type)
console.log(`Selected: ${selectedOption.label}`)
// console.log(`Selected: ${selectedOption.label}`)
}
render () {
const { selectedOption } = this.state
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment