diff options
author | Vitaly Takmazov | 2019-07-26 15:26:14 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2023-01-13 10:37:55 +0300 |
commit | e742c369da7a1186e5c03dc1577b1fa5122480c5 (patch) | |
tree | d4f7c45884e9f2190eedaf19d686d8d1d64d04c3 /vnext/src/ui/Thread.js | |
parent | f6a7e2d7d9dbcee761149aa0ea42a8b3277a46c9 (diff) |
Fix thread, fix text font
Diffstat (limited to 'vnext/src/ui/Thread.js')
-rw-r--r-- | vnext/src/ui/Thread.js | 3 |
1 files changed, 2 insertions, 1 deletions
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); |