<commit_before>import React from 'react'
import { FormattedNumber } from 'react-intl'
import PropTypes from 'prop-types';

const TotalFundAvailable = (props) => {
  const { generalFund, generalFundsRemaining } = props.funds
  const remainingAmount = generalFundsRemaining || generalFund

  return (
    <div className="TotalFundsAvailable">
      <h4 className="TotalFundsAvailable__header">
        Total Funds<br/>
        Available
      </h4>
      <h4 className="TotalFundsAvailable__dollars">
        <FormattedNumber
          value={remainingAmount}
          style="currency"
          currency="USD"
          maximumFractionDigits="0"
        />
      </h4>
    </div>
  )
}

export default TotalFundAvailable

TotalFundAvailable.propTypes = {
  funds: PropTypes.shape({
    generalFund: PropTypes.number,
    generalFundsRemaining: PropTypes.number,
  }).isRequired,
};
<commit_msg>Make maximumFractionDigits a number<commit_after>import React from 'react'
import { FormattedNumber } from 'react-intl'
import PropTypes from 'prop-types';

const TotalFundAvailable = (props) => {
  const { generalFund, generalFundsRemaining } = props.funds
  const remainingAmount = generalFundsRemaining || generalFund

  return (
    <div className="TotalFundsAvailable">
      <h4 className="TotalFundsAvailable__header">
        Total Funds<br/>
        Available
      </h4>
      <h4 className="TotalFundsAvailable__dollars">
        <FormattedNumber
          value={remainingAmount}
          style="currency" //eslint-disable-line
          currency="USD"
          maximumFractionDigits={0}
        />
      </h4>
    </div>
  )
}

export default TotalFundAvailable

TotalFundAvailable.propTypes = {
  funds: PropTypes.shape({
    generalFund: PropTypes.number,
    generalFundsRemaining: PropTypes.number,
  }).isRequired,
};

{'fraction_non_alphanumeric': 0.10262008733624454, 'fraction_numerical': 0.0054585152838427945, 'mean_word_length': 3.272727272727273, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 21, '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': '4139203', 'n_tokens_mistral': 549, 'n_tokens_neox': 526, 'n_words': 108}