diff --git a/src/views/preview/embed-view.jsx b/src/views/preview/embed-view.jsx index 62f47e60d..5ef630a53 100644 --- a/src/views/preview/embed-view.jsx +++ b/src/views/preview/embed-view.jsx @@ -40,19 +40,23 @@ class EmbedView extends React.Component { ); } - return this.props.projectInfo && ( - - - - - ); + if (this.props.projectInfo && this.props.projectInfo.project_token){ + return ( + + + + + ); + } + return null; } }