diff options
author | Noah Loomans <noahloomans@gmail.com> | 2018-06-27 16:42:18 +0200 |
---|---|---|
committer | Noah Loomans <noahloomans@gmail.com> | 2018-06-27 16:42:18 +0200 |
commit | c64c5dd56d443995e41d4da35b35561e85bdb1aa (patch) | |
tree | 7e3c6e4bcf99f3afd547ba3d6318d09d13ca86e4 /src | |
parent | 949974e3edc11ffb144ead7f8a5f70d93e532e3c (diff) |
HelpBox: Don't return an empty div
Diffstat (limited to 'src')
-rw-r--r-- | src/client/react/components/presentational/HelpBox.js | 2 |
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 ( |