{"size": 431, "ext": "js", "max_stars_repo_path": "src/components/containers/MainPageContainer.js", "max_stars_repo_name": "biovisualize/lyrebird-app", "max_stars_repo_stars_event_min_datetime": "2018-11-19T14:49:44.000Z", "max_stars_repo_stars_event_max_datetime": "2019-05-18T03:37:13.000Z", "max_issues_repo_path": "src/components/containers/MainPageContainer.js", "max_issues_repo_name": "biovisualize/lyrebird-app", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/components/containers/MainPageContainer.js", "max_forks_repo_name": "biovisualize/lyrebird-app", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 2, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 23.9444444444, "max_line_length": 46, "alphanum_fraction": 0.7006960557}
import { connect } from "react-redux";
import Main from "../Main";

function mapStateToProps(state) {
  return {
    text: state.main.text,
    inputText: state.main.inputText,
    waveform: state.main.waveform,
    audios: state.main.audios,
    error: state.main.error,
    accessToken: state.auth.accessToken,
    profile: state.auth.profile,
    source: state.main.source
  };
}

export default connect(mapStateToProps)(Main);
