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)
|
- [Other versions](https://github.com/khlieng/dispatch/releases)
|
||||||
|
|
||||||
### 2. Go
|
### 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:
|
Fetch, compile and run dispatch:
|
||||||
```bash
|
```bash
|
||||||
|
@ -27,7 +27,11 @@ export default class Message extends PureComponent {
|
|||||||
<p className={className} style={style}>
|
<p className={className} style={style}>
|
||||||
<span className="message-time">{message.time}</span>
|
<span className="message-time">{message.time}</span>
|
||||||
{message.from && (
|
{message.from && (
|
||||||
<span className="message-sender" style={senderStyle} onClick={this.handleNickClick}>
|
<span
|
||||||
|
className="message-sender"
|
||||||
|
style={senderStyle}
|
||||||
|
onClick={this.handleNickClick}
|
||||||
|
>
|
||||||
{' '}
|
{' '}
|
||||||
{message.from}
|
{message.from}
|
||||||
</span>
|
</span>
|
||||||
|
@ -5,7 +5,7 @@ export default class UserListItem extends PureComponent {
|
|||||||
handleClick = () => this.props.onClick(this.props.user.nick);
|
handleClick = () => this.props.onClick(this.props.user.nick);
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
const { user } = this.props;
|
const { user } = this.props;
|
||||||
const style = {
|
const style = {
|
||||||
color: stringToHSL(user.nick),
|
color: stringToHSL(user.nick),
|
||||||
...this.props.style
|
...this.props.style
|
||||||
|
Loading…
Reference in New Issue
Block a user