<commit_before>import { ArticleProps } from "Components/Publishing/Article"
import React from "react"
import { TooltipsData } from "./TooltipsDataLoader"

export class TooltipsDataProvider extends React.Component<ArticleProps> {
  render() {
    const { article, onOpenAuthModal, showTooltips } = this.props

    return (
      <TooltipsData
        article={article}
        shouldFetchData={showTooltips}
        onOpenAuthModal={onOpenAuthModal}
      >
        {this.props.children}
      </TooltipsData>
    )
  }
}<commit_msg>use sfc over component<commit_after>import { ArticleProps } from "Components/Publishing/Article"
import React from "react"
import { TooltipsData } from "./TooltipsDataLoader"

export const TooltipsDataProvider: React.SFC<ArticleProps> = props => {
  const { article, onOpenAuthModal, showTooltips } = props

  return (
    <TooltipsData
      article={article}
      shouldFetchData={showTooltips}
      onOpenAuthModal={onOpenAuthModal}
    >
      {props.children}
    </TooltipsData>
  )
}
{'fraction_non_alphanumeric': 0.099609375, 'fraction_numerical': 0.0, 'mean_word_length': 3.7235023041474653, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 10, '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': '4041454', 'n_tokens_mistral': 317, 'n_tokens_neox': 307, 'n_words': 62}