aboutsummaryrefslogtreecommitdiff
path: root/vnext/src
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2019-07-26 15:26:14 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:55 +0300
commite742c369da7a1186e5c03dc1577b1fa5122480c5 (patch)
treed4f7c45884e9f2190eedaf19d686d8d1d64d04c3 /vnext/src
parentf6a7e2d7d9dbcee761149aa0ea42a8b3277a46c9 (diff)
Fix thread, fix text font
Diffstat (limited to 'vnext/src')
-rw-r--r--vnext/src/index.css2
-rw-r--r--vnext/src/ui/Thread.js3
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);