<commit_before>import React from 'react';
import Moment from 'react-moment';
import WeatherInfo from './WeatherInfo.jsx';

const CurrentInfo = (props) => (
  <div className='current-info'>
    <h3> Current Information </h3>
    <hr className='divider'/>
    <p><span className='bold'>Current TripId: &ensp;</span>{props.trip._id}</p>
    <p><span className='bold'>Trip Dates: &ensp;</span><Moment format='YYYY/MM/DD' date={props.startDate}/> - <Moment format='YYYY/MM/DD' date={props.endDate}/></p>
    
    <div className='weather-infos'>
      <p> <span className='bold'>Current Weather:</span></p>
      {props.weathers.map((weather, index) => <WeatherInfo key={index} weather={weather} />)}
    </div>

    <div className='currency-info'>
      <p><span className='bold'>Currency Info :</span></p>
    </div>
  </div>
);

export default CurrentInfo;<commit_msg>Add some static currency exchange info - need to implement live currency exchange component in the future<commit_after>import React from 'react';
import Moment from 'react-moment';
import WeatherInfo from './WeatherInfo.jsx';

const CurrentInfo = (props) => (
  <div className='current-info'>
    <h3> Current Information </h3>
    <hr className='divider'/>
    <p><span className='bold'>Current TripId: &ensp;</span>{props.trip._id}</p>
    <p><span className='bold'>Trip Dates: &ensp;</span><Moment format='YYYY/MM/DD' date={props.startDate}/> - <Moment format='YYYY/MM/DD' date={props.endDate}/></p>
    
    <div className='weather-infos'>
      <p> <span className='bold'>Current Weather:</span></p>
      {props.weathers.map((weather, index) => <WeatherInfo key={index} weather={weather} />)}
    </div>

    <div className='currency-info'>
      <p><span className='bold'>Currency Info: &ensp;</span> 1 USD = 0.85 Euro, 6.64 Yuan, 112.49 Yen, 58.16 Ruble</p>
    </div>
  </div>
);

export default CurrentInfo;
{'fraction_non_alphanumeric': 0.18862911795961743, 'fraction_numerical': 0.010626992561105207, 'mean_word_length': 4.304225352112676, 'pattern_counts': {'":': 0, '<': 59, '<?xml version=': 0, '>': 63, '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': '5926203', 'n_tokens_mistral': 642, 'n_tokens_neox': 609, 'n_words': 142}