Skip to content

Commit

Permalink
Removed hover from website
Browse files Browse the repository at this point in the history
  • Loading branch information
timolins committed Nov 5, 2016
1 parent 694982f commit 1c13397
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -77,5 +77,5 @@ export default query => ({
| `enabled` | `Boolean` | YES | If `false` the command will be hidden from inline mode and return an error in chat mode. This is useful if your command only works with a certain `query`. |
| `message` | `String` | YES | The result of the command. This will be returned when it runs. |
| `description` | `String` | YES | Description for the website, `/start` and inline mode. |
| `parameter` | `String` | - | Example parameter. Should be in brackets if it's optional. Will be displayed on the website and if `enabled` is set to false |
| `parameter` | `String` | - | Example parameter. Should be in brackets if it's optional. Will be displayed if `enabled` is set to false |
| `thumb` | `String` | - | Thumbnail for inline mode and website. Image should be placed inside `static/thumbs/` |
12 changes: 0 additions & 12 deletions components/modal.js
Expand Up @@ -32,17 +32,6 @@ const styles = {
}

export default class extends React.Component {
constructor() {
super()
this.state = {
parameter: ''
}
}
_onHover = (parameter) => {
this.setState({
parameter
})
}
render() {
return (
<div className={style(styles.modal)}>
Expand All @@ -56,7 +45,6 @@ export default class extends React.Component {
<a className={style(styles.link)} href="https://telegram.me/coinbot">
<div className={style(styles.message)}>
<span>@coinbot</span>
<span className={style(styles.placeholder)}>{this.state.parameter}</span>
<img className={style(styles.arrow)} src="static/arrow@2x.png" alt="Send Arrow"/>
</div>
</a>
Expand Down

0 comments on commit 1c13397

Please sign in to comment.