From 2a464c8c21e6444fec1df561d5d9181e4442ae42 Mon Sep 17 00:00:00 2001 From: Paul Kaplan Date: Fri, 7 Dec 2018 12:32:54 -0500 Subject: [PATCH] Remove share button on censored project banner. Functionality needs reconsidering. --- src/views/preview/presentation.jsx | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/src/views/preview/presentation.jsx b/src/views/preview/presentation.jsx index 643f98db9..a0dcb4a5c 100644 --- a/src/views/preview/presentation.jsx +++ b/src/views/preview/presentation.jsx @@ -132,19 +132,10 @@ const PreviewPresentation = ({ message={} />); } else if (visibilityInfo.censored) { - if (visibilityInfo.reshareable) { - banner = (} - className="banner-danger" - message={embedCensorMessage(visibilityInfo.message)} - onAction={onShare} - />); - } else { - banner = (); - } + banner = (); } else if (justRemixed) { banner = (