<commit_before>import React, { PureComponent } from 'react'
import { Observable } from 'rxjs'
import { keys, compose, pathOr } from 'ramda'
import ExchangeRatesPageComponentSchema from 'schemas/ExchangeRatesPageSchema'
import axios from 'axios'
import ExchangeRatesPage from 'components/ExchangeRatesPage'
import jsonpAdapter from 'axios-jsonp'
import { connect } from 'react-redux'
import { reduxForm } from 'redux-form'
import { setRates, setCurrencies, setAmount } from 'reducers/EchangePage'

const fetchRates = ({ base }) => axios({
  url: `https://api.fixer.io/latest?base=${base}`,
  adapter: jsonpAdapter
})


@connect(({ exchangePage, wallet: { accounts } }, props) => ({ ...exchangePage, accounts }), {
  setRates,
  setCurrencies,
  setAmount
})
@reduxForm(
  {
    form: 'exchange',
    onSubmit: () => {
      console.log('implement me')
    },<commit_msg>histories fix<commit_after>import React, { PureComponent } from 'react'
import { Observable } from 'rxjs'
import { keys, compose, pathOr } from 'ramda'
import ExchangeRatesPageComponentSchema from 'schemas/ExchangeRatesPageSchema'
import axios from 'axios'
import ExchangeRatesPage from 'components/ExchangeRatesPage'
import jsonpAdapter from 'axios-jsonp'
import { connect } from 'react-redux'
import { reduxForm } from 'redux-form'
import { setRates, setCurrencies, setAmount } from 'reducers/EchangePage'

const fetchRates = ({ base }) => axios({
  url: `https://api.fixer.io/latest?base=${base}`,
  adapter: jsonpAdapter
})


@connect(({ exchangePage, wallet: { accounts } }, props) => ({ ...exchangePage, accounts }), {
  setRates,
  setCurrencies,
  setAmount
})
@reduxForm(
  {
    form: 'exchange',
    onSubmit: () => {

    },
{'fraction_non_alphanumeric': 0.1378299120234604, 'fraction_numerical': 0.0, 'mean_word_length': 4.965034965034965, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 2, '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': '3132077', 'n_tokens_mistral': 561, 'n_tokens_neox': 540, 'n_words': 137}