<commit_before>import React from 'react';
import './ClusterTags.scss';

const propTypes = {
  clusterPosition: React.PropTypes.shape({
    cx: React.PropTypes.number,
    cy: React.PropTypes.number,
  }),
  freqTags: React.PropTypes.array,
  queryID: React.PropTypes.string,
};

class ClusterTags extends React.Component {

  shouldComponentUpdate(nextProps) {
    return (this.props.clusterPosition !== nextProps.clusterPosition);
  }

  render() {<commit_msg>Removes depreciation warning (React.PropTypes) for clustertags.js<commit_after>import React from 'react';
import PropTypes from 'prop-types';
import './ClusterTags.scss';

const propTypes = {
  clusterPosition: PropTypes.shape({
    cx: PropTypes.number,
    cy: PropTypes.number,
  }),
  freqTags: PropTypes.array,
  queryID: PropTypes.string,
};

class ClusterTags extends React.Component {

  shouldComponentUpdate(nextProps) {
    return (this.props.clusterPosition !== nextProps.clusterPosition);
  }

  render() {
{'fraction_non_alphanumeric': 0.12142857142857143, 'fraction_numerical': 0.0, 'mean_word_length': 4.703488372093023, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '5270580', 'n_tokens_mistral': 298, 'n_tokens_neox': 293, 'n_words': 63}