Update readme
This commit is contained in:
parent
973aa3b104
commit
6146b27adc
@ -21,7 +21,7 @@ There is a few different ways of getting it:
|
||||
- [Other versions](https://github.com/khlieng/dispatch/releases)
|
||||
|
||||
### 2. Go
|
||||
This requires a [Go environment](http://golang.org/doc/install), version 1.9 or greater.
|
||||
This requires a [Go environment](http://golang.org/doc/install), version 1.10 or greater.
|
||||
|
||||
Fetch, compile and run dispatch:
|
||||
```bash
|
||||
|
@ -27,7 +27,11 @@ export default class Message extends PureComponent {
|
||||
<p className={className} style={style}>
|
||||
<span className="message-time">{message.time}</span>
|
||||
{message.from && (
|
||||
<span className="message-sender" style={senderStyle} onClick={this.handleNickClick}>
|
||||
<span
|
||||
className="message-sender"
|
||||
style={senderStyle}
|
||||
onClick={this.handleNickClick}
|
||||
>
|
||||
{' '}
|
||||
{message.from}
|
||||
</span>
|
||||
|
@ -5,7 +5,7 @@ export default class UserListItem extends PureComponent {
|
||||
handleClick = () => this.props.onClick(this.props.user.nick);
|
||||
|
||||
render() {
|
||||
const { user } = this.props;
|
||||
const { user } = this.props;
|
||||
const style = {
|
||||
color: stringToHSL(user.nick),
|
||||
...this.props.style
|
||||
|
Loading…
Reference in New Issue
Block a user