<commit_before>import React from "react";

const Avatar = ({name, avatar, size = 80}) => (
  <div className="rider-avatar">
    <img title={name} src={avatar + "?s=" + size} />
  </div>
);

export default Avatar;<commit_msg>Make sure avatar images are the right size before the image has loaded<commit_after>import React from "react";

const Avatar = ({name, avatar, size = 80}) => (
  <div className="rider-avatar">
    <img title={name} src={avatar + "?s=" + size} width={size} height={size} />
  </div>
);

export default Avatar;
{'fraction_non_alphanumeric': 0.17669172932330826, 'fraction_numerical': 0.007518796992481203, 'mean_word_length': 4.494845360824742, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 11, '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': '214715', 'n_tokens_mistral': 184, 'n_tokens_neox': 175, 'n_words': 55}