We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de21d87 commit 992b6f8Copy full SHA for 992b6f8
src/components/menu-bar/share-button.jsx
@@ -147,8 +147,9 @@ class ShareButton extends React.Component {
147
editPiece = `&id=${id}`;
148
}
149
150
+ const projectTitle = encodeURIComponent(this.props.projectTitle);
151
const url = location.origin;
- window.open(`https://penguinmod.com/${targetPage}?name=${this.props.projectTitle}${editPiece}${remixPiece}&external=${url}`, '_blank');
152
+ window.open(`https://penguinmod.com/${targetPage}?name=${projectTitle}${editPiece}${remixPiece}&external=${url}`, '_blank');
153
});
154
155
render() {
0 commit comments