From 42098e3215870f795874c2340c54174e7b6fc635 Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Mon, 19 Sep 2016 15:49:17 +0100 Subject: [PATCH] Fix formatting of user links For links to users, some of the rows in the table are missing; but we were rendering empty `
s` which were messing up the table. We shouldn't return anything here. --- src/components/HomePage.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/HomePage.js b/src/components/HomePage.js index 2934d24..168fbcb 100644 --- a/src/components/HomePage.js +++ b/src/components/HomePage.js @@ -275,7 +275,7 @@ export default React.createClass({ else if (isMsg && client.msg_url) { link = client.msg_url(this.state.entity); } - if (!link) return
; + if (!link) return null; return (
@@ -314,7 +314,7 @@ export default React.createClass({ else if (isMsg && client.msg_instructions) { instructions = client.msg_instructions(this.state.entity); } - if (!instructions) return
; + if (!instructions) return null; return (