Unverified Commit 3f9de0ca authored by Ray Schamp's avatar Ray Schamp Committed by GitHub

Merge pull request #2120 from rschamp/enable-share

Add placeholder share handler
parents 81387840 1ad9a95a
......@@ -246,6 +246,9 @@ class Preview extends React.Component {
handleSeeInside () {
this.props.setPlayer(false);
}
handleShare () {
// This is just a placeholder, but enables the button in the editor
}
handleUpdate (jsonData) {
this.props.updateProject(
this.props.projectInfo.id,
......@@ -338,6 +341,7 @@ class Preview extends React.Component {
renderLogin={this.renderLogin}
onLogOut={this.props.handleLogOut}
onOpenRegistration={this.props.handleOpenRegistration}
onShare={this.handleShare}
onToggleLoginOpen={this.props.handleToggleLoginOpen}
onUpdateProjectTitle={this.handleUpdateProjectTitle}
/>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment