From 2a19bb283f3fecd2219c6bb11291fd384a9d7ec6 Mon Sep 17 00:00:00 2001 From: Ben Wheeler Date: Thu, 6 Sep 2018 16:54:12 -0400 Subject: [PATCH] no need to pass title to embedded gui --- src/views/preview/presentation.jsx | 1 - src/views/preview/preview.jsx | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/views/preview/presentation.jsx b/src/views/preview/presentation.jsx index bcab17902..56727130e 100644 --- a/src/views/preview/presentation.jsx +++ b/src/views/preview/presentation.jsx @@ -146,7 +146,6 @@ const PreviewPresentation = ({ previewInfoVisible="false" projectHost={projectHost} projectId={projectId} - projectTitle={projectInfo.title} /> diff --git a/src/views/preview/preview.jsx b/src/views/preview/preview.jsx index 59f79cccc..6b3fe2909 100644 --- a/src/views/preview/preview.jsx +++ b/src/views/preview/preview.jsx @@ -362,7 +362,9 @@ class Preview extends React.Component { className="gui" projectHost={this.props.projectHost} projectId={this.state.projectId} + projectTitle={this.props.projectInfo.title} onClickLogout={this.handleLogout} + onUpdateProjectTitle={this.handleUpdateProjectTitle} /> ); }