aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/App.js
diff options
context:
space:
mode:
Diffstat (limited to 'vnext/src/App.js')
-rw-r--r--vnext/src/App.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/vnext/src/App.js b/vnext/src/App.js
index e13a5f74..683e310a 100644
--- a/vnext/src/App.js
+++ b/vnext/src/App.js
@@ -199,7 +199,10 @@ export default class App extends React.Component {
<hr />
<div id="ustats">
<ul>
- <li><Link to={`/${user.uname}/friends`}>I read: {user.read ? user.read.length : 0}</Link></li>
+ {
+ user.read &&
+ <li><Link to={`/${user.uname}/friends`}>I read: { user.read.length }</Link></li>
+ }
<li><Link to={`/${user.uname}/readers`}>My readers: {user.readers? user.readers.length : 0}</Link></li>
{
user.statsMyBL &&