<commit_before>import React from 'react';
import PropTypes from 'prop-types';

const Avatar = ({ url, user_url }) => {
  return (
    <div className='avatar'>
      <a href={user_url}>
        <img style={imgStyle} src={url} alt='' />
      </a>
    </div>
  );
};

let imgStyle = {
  maxHeight: '100px',
  maxWidth: '100px'
};

Avatar.propTypes = {
  user_url: PropTypes.string.isRequired,
  url: PropTypes.string.isRequired
};

export default Avatar;<commit_msg>Make clicking on avatar open new tab as well<commit_after>import React from 'react';
import PropTypes from 'prop-types';

const Avatar = ({ url, user_url }) => {
  return (
    <div className="avatar">
      <a target="_blank" rel="noopener noreferrer" href={user_url}>
        <img style={imgStyle} src={url} alt="" />
      </a>
    </div>
  );
};

let imgStyle = {
  maxHeight: '100px',
  maxWidth: '100px'
};

Avatar.propTypes = {
  user_url: PropTypes.string.isRequired,
  url: PropTypes.string.isRequired
};

export default Avatar;
{'fraction_non_alphanumeric': 0.15784215784215785, 'fraction_numerical': 0.011988011988011988, 'mean_word_length': 3.5545454545454547, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 15, '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': '4868440', 'n_tokens_mistral': 353, 'n_tokens_neox': 347, 'n_words': 84}