<commit_before>/** @jsx REACT.DOM */
import React from 'react';
import PianoKeyboard from './piano-keyboard';
import MicRecorder from './mic-recorder';

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

    const trackTitle = this.props.track ? this.props.track.title : 'CONTROL PANEL';
    const trackType = this.props.track ? this.props.track.type : null;
    const isMIDI = trackType === 'MIDI';

    return (
      <div className="control-panel">
        <p>{trackTitle}</p>
        {isMIDI ?
          <PianoKeyboard track={this.props.track} queso={this.props.queso} /> :
          <MicRecorder track={this.props.track} />}
      </div>
    );

  }
});<commit_msg>never show microphone thing<commit_after>/** @jsx REACT.DOM */
import React from 'react';
import PianoKeyboard from './piano-keyboard';
import MicRecorder from './mic-recorder';

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

    const trackTitle = this.props.track ? this.props.track.title : 'CONTROL PANEL';
    const trackType = this.props.track ? this.props.track.type : null;
    const isMIDI = trackType === 'MIDI';

    return (
      <div className="control-panel">
        <p>{trackTitle}</p>
        <PianoKeyboard track={this.props.track} queso={this.props.queso} />
      </div>
    );

  }
});
{'fraction_non_alphanumeric': 0.15562403697996918, 'fraction_numerical': 0.0, 'mean_word_length': 3.0977917981072554, 'pattern_counts': {'":': 0, '<': 14, '<?xml version=': 0, '>': 14, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3505965', 'n_tokens_mistral': 418, 'n_tokens_neox': 414, 'n_words': 92}