Sketch name is used as <title> (issue #108) (#363)

* Sketch name is used as <title> (#108)

* add newline to end of file
This commit is contained in:
Zach Rispoli 2017-06-05 19:37:41 -07:00 committed by Cassie Tarakajian
parent 313fc856d1
commit c596b74b27
2 changed files with 5 additions and 0 deletions

View File

@ -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}</title>
</Helmet>
{this.props.toast.isVisible && <Toast />}
<Nav
user={this.props.user}

View File

@ -96,6 +96,7 @@
"q": "^1.4.1",
"react": "^15.1.0",
"react-dom": "^15.1.0",
"react-helmet": "^5.1.3",
"react-inlinesvg": "^0.4.2",
"react-redux": "^4.4.5",
"react-router": "^2.6.0",