/** @jsx REACT.DOM */
import React from 'react';

export default React.createClass({
  render: function () {
    return (
      <div className="control-panel">
        <p>{this.props.track ? this.props.track.title : 'CONTROL PANEL'}</p>
      </div>
    );
  }
});

/** @jsx REACT.DOM */
import React from 'react';

export default React.createClass({
  render: function () {

    const trackTitle = this.props.track ? this.props.track.title : 'CONTROL PANEL';

    return (
      <div className="control-panel">
        <p>{trackTitle}</p>
      </div>
    );

  }
});

Move control panel title into a variable
Move control panel title into a variable

This sets me up for more
