<commit_before>import React from "react";
import Component from "../pure-render-component";

export default class Popup extends Component{
  render(){
    var {name, amount} = this.props.data;
    return (
        <table className="table table-bordered">
          <tbody>
            <tr>
              <th>Name</th>
              <td>{name}</td>
            </tr>
            <tr>
              <th>Total planned amount</th>
              <td>{amount}</td>
            </tr>
          </tbody>
        </table>
    )
  }
}<commit_msg>OCVN-52 Added commas to location popup numbers<commit_after>import React from "react";
import Component from "../pure-render-component";

export default class Popup extends Component{
  render(){
    var {name, amount} = this.props.data;
    return (
        <table className="table table-bordered">
          <tbody>
            <tr>
              <th>Name</th>
              <td>{name}</td>
            </tr>
            <tr>
              <th>Total planned amount</th>
              <td>{amount.toLocaleString()}</td>
            </tr>
          </tbody>
        </table>
    )
  }
}
{'fraction_non_alphanumeric': 0.1408199643493761, 'fraction_numerical': 0.0017825311942959, 'mean_word_length': 1.5816091954022988, 'pattern_counts': {'":': 0, '<': 35, '<?xml version=': 0, '>': 35, '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': '6180030', 'n_tokens_mistral': 324, 'n_tokens_neox': 317, 'n_words': 78}