From c596b74b276e8aabaf632c8b378fbf74728a3e1d Mon Sep 17 00:00:00 2001 From: Zach Rispoli Date: Mon, 5 Jun 2017 19:37:41 -0700 Subject: [PATCH] Sketch name is used as (issue #108) (#363) * Sketch name is used as <title> (#108) * add newline to end of file --- client/modules/IDE/pages/IDEView.jsx | 4 ++++ package.json | 1 + 2 files changed, 5 insertions(+) diff --git a/client/modules/IDE/pages/IDEView.jsx b/client/modules/IDE/pages/IDEView.jsx index 7a258193..1968c341 100644 --- a/client/modules/IDE/pages/IDEView.jsx +++ b/client/modules/IDE/pages/IDEView.jsx @@ -2,6 +2,7 @@ import React, { PropTypes } from 'react'; import { bindActionCreators } from 'redux'; import { connect } from 'react-redux'; import { withRouter } from 'react-router'; +import { Helmet } from 'react-helmet'; import SplitPane from 'react-split-pane'; import Editor from '../components/Editor'; import Sidebar from '../components/Sidebar'; @@ -199,6 +200,9 @@ class IDEView extends React.Component { render() { return ( <div className="ide"> + <Helmet> + <title>{this.props.project.name} + {this.props.toast.isVisible && }