aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoah Loomans <noahloomans@gmail.com>2018-06-27 16:42:18 +0200
committerNoah Loomans <noahloomans@gmail.com>2018-06-27 16:42:18 +0200
commitc64c5dd56d443995e41d4da35b35561e85bdb1aa (patch)
tree7e3c6e4bcf99f3afd547ba3d6318d09d13ca86e4
parent949974e3edc11ffb144ead7f8a5f70d93e532e3c (diff)
HelpBox: Don't return an empty div
-rw-r--r--src/client/react/components/presentational/HelpBox.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/react/components/presentational/HelpBox.js b/src/client/react/components/presentational/HelpBox.js
index b32cd0a..64a4717 100644
--- a/src/client/react/components/presentational/HelpBox.js
+++ b/src/client/react/components/presentational/HelpBox.js
@@ -32,7 +32,7 @@ class HelpBox extends React.Component {
const { isVisible } = this.props;
if (!isVisible) {
- return <div />;
+ return null;
}
return (