aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vnext/src/App.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/vnext/src/App.js b/vnext/src/App.js
index 20ece23e..e13a5f74 100644
--- a/vnext/src/App.js
+++ b/vnext/src/App.js
@@ -199,8 +199,8 @@ export default class App extends React.Component {
<hr />
<div id="ustats">
<ul>
- <li><Link to={`/${user.uname}/friends`}>I read: {user.statsIRead}</Link></li>
- <li><Link to={`/${user.uname}/readers`}>My readers: {user.statsMyReaders}</Link></li>
+ <li><Link to={`/${user.uname}/friends`}>I read: {user.read ? user.read.length : 0}</Link></li>
+ <li><Link to={`/${user.uname}/readers`}>My readers: {user.readers? user.readers.length : 0}</Link></li>
{
user.statsMyBL &&
<li><Link to={`/${user.uname}/bl`}>My blacklist: {user.statsMyBL}</Link></li>