<commit_before>import React from 'react';
import BaseChart from '../BaseChart';
import useHighcharts from '../UseHighcharts';

const HighchartsChart = (props) => {
  const getHighcharts = useHighcharts();

  return (
    <BaseChart
      {...props}
      getHighcharts={getHighcharts}
      chartCreationFunc={getHighcharts().chart}
      chartType="chart" />
  )
}

export default HighchartsChart;<commit_msg>Do not pass getHighcharts to BaseChart<commit_after>import React from 'react';
import BaseChart from '../BaseChart';
import useHighcharts from '../UseHighcharts';

const HighchartsChart = (props) => {
  const getHighcharts = useHighcharts();

  return (
    <BaseChart
      {...props}
      chartCreationFunc={getHighcharts().chart}
      chartType="chart" />
  )
}

export default HighchartsChart;
{'fraction_non_alphanumeric': 0.12484548825710753, 'fraction_numerical': 0.0, 'mean_word_length': 3.9693251533742333, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '3754094', 'n_tokens_mistral': 248, 'n_tokens_neox': 227, 'n_words': 57}