<commit_before>import { connect } from 'react-redux'
import { createTimer } from '../actions/actions'

import TimerForm from '../Components/TimerForm'

const mapStateToProps = state => {
  return {
    errorText: state.errorText
  }
}

const mapDispatchToProps = dispatch => {
  return {
    createTimer: (minutes) => {
      dispatch(createTimer(minutes))
    }
  }
}

const TimerFormContainer = connect(
  mapStateToProps,
  mapDispatchToProps
)(TimerForm)

export default TimerFormContainer<commit_msg>Use async action creators in timer form<commit_after>import { connect } from 'react-redux'
import { requestCreateRemoteTimer } from '../actions/actions'

import TimerForm from '../Components/TimerForm'

const mapStateToProps = state => {
  return {
    errorText: state.errorText
  }
}

const mapDispatchToProps = dispatch => {
  return {
    createTimer: (minutes) => {
      dispatch(requestCreateRemoteTimer(minutes))
    }
  }
}

const TimerFormContainer = connect(
  mapStateToProps,
  mapDispatchToProps
)(TimerForm)

export default TimerFormContainer
{'fraction_non_alphanumeric': 0.10357815442561205, 'fraction_numerical': 0.0, 'mean_word_length': 4.236453201970443, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '4423694', 'n_tokens_mistral': 318, 'n_tokens_neox': 306, 'n_words': 73}