diff options
-rw-r--r-- | vnext/src/index.css | 2 | ||||
-rw-r--r-- | vnext/src/ui/Thread.js | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/vnext/src/index.css b/vnext/src/index.css index d635667b..a6f03b23 100644 --- a/vnext/src/index.css +++ b/vnext/src/index.css @@ -7,7 +7,7 @@ --background-color: #f8f8f8; --border-color: #eee; --text-background-color: #fff; - --text-color: #363636; + --text-color: #222; --link-color: #3c77aa; --dimmed-link-color: #88958d; } diff --git a/vnext/src/ui/Thread.js b/vnext/src/ui/Thread.js index cae60139..e469b8cf 100644 --- a/vnext/src/ui/Thread.js +++ b/vnext/src/ui/Thread.js @@ -137,8 +137,9 @@ export default function Thread(props) { params.hash = hash; getMessages('/api/thread', params) .then(response => { + let updatedMessage = response.data.shift(); if (!message.mid) { - setMessage(response.data.shift()); + setMessage(updatedMessage); } setReplies(response.data); setLoading(false); |