From 6146b27adc2016a2bc010ef8afa481884068606c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ken-H=C3=A5vard=20Lieng?= Date: Sun, 7 Oct 2018 01:27:26 +0200 Subject: [PATCH] Update readme --- README.md | 2 +- client/src/js/components/pages/Chat/Message.js | 6 +++++- client/src/js/components/pages/Chat/UserListItem.js | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 3c89ab2d..69ebba57 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/client/src/js/components/pages/Chat/Message.js b/client/src/js/components/pages/Chat/Message.js index 0f11bd11..51069f80 100644 --- a/client/src/js/components/pages/Chat/Message.js +++ b/client/src/js/components/pages/Chat/Message.js @@ -27,7 +27,11 @@ export default class Message extends PureComponent {

{message.time} {message.from && ( - + {' '} {message.from} diff --git a/client/src/js/components/pages/Chat/UserListItem.js b/client/src/js/components/pages/Chat/UserListItem.js index 4f8f27a1..7a5b3566 100644 --- a/client/src/js/components/pages/Chat/UserListItem.js +++ b/client/src/js/components/pages/Chat/UserListItem.js @@ -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