From 97f6f3bdf8a5dfac26bd0d1bed11bf2658e138a6 Mon Sep 17 00:00:00 2001 From: Alex Liebowitz Date: Fri, 23 Dec 2016 02:02:05 -0500 Subject: [PATCH] Style and formatting fixes in FileTile --- js/component/file-tile.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/js/component/file-tile.js b/js/component/file-tile.js index 8778d3755..37154f9f1 100644 --- a/js/component/file-tile.js +++ b/js/component/file-tile.js @@ -38,7 +38,7 @@ let FileTile = React.createClass({ } }, render: function() { - var obscureNsfw = !lbry.getClientSetting('showNsfw') && this.props.nsfw; + let obscureNsfw = !lbry.getClientSetting('showNsfw') && this.props.nsfw; return (
@@ -70,15 +70,14 @@ let FileTile = React.createClass({

- { - !obscureNsfw || !this.state.isHovered ? null : -
+ {obscureNsfw && this.state.isHovered + ?

This content is Not Safe For Work. To view adult content, please change your .

- } + : null}
); }