diff --git a/src/views/preview/presentation.jsx b/src/views/preview/presentation.jsx index a85c5fdc7..3accc66fd 100644 --- a/src/views/preview/presentation.jsx +++ b/src/views/preview/presentation.jsx @@ -127,13 +127,13 @@ const PreviewPresentation = ({ banner = (} className="banner-danger" - message={embedCensorMessage(visibilityInfo.censorMessage)} + message={embedCensorMessage(visibilityInfo.message)} onAction={onShare} />); } else { banner = (); } } else if (canShare) { @@ -595,7 +595,7 @@ PreviewPresentation.propTypes = { userOwnsProject: PropTypes.bool, visibilityInfo: PropTypes.shape({ censored: PropTypes.bool, - censorMessage: PropTypes.string, + message: PropTypes.string, deleted: PropTypes.bool, reshareable: PropTypes.bool }) diff --git a/src/views/preview/project-view.jsx b/src/views/preview/project-view.jsx index 58502e0dc..8f7c1111e 100644 --- a/src/views/preview/project-view.jsx +++ b/src/views/preview/project-view.jsx @@ -649,7 +649,7 @@ Preview.propTypes = { userPresent: PropTypes.bool, visibilityInfo: PropTypes.shape({ censored: PropTypes.bool, - censorMessage: PropTypes.string, + message: PropTypes.string, deleted: PropTypes.bool, reshareable: PropTypes.bool })