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

const Avatar = ({ className, user }) => (
  <div className={cx('Avatar', className)}>
    <img
      className="Avatar-image"
      src={user.avatar || `/a/${encodeURIComponent(user._id)}`}
      alt={user.username}
    />
  </div>
);<commit_msg>Revert "[WLK-INSTANCE] use locally generated avatars as default instead of cupcake.io"<commit_after>import cx from 'classnames';
import React from 'react';
import PropTypes from 'prop-types';

const Avatar = ({ className, user }) => (
  <div className={cx('Avatar', className)}>
    <img
      className="Avatar-image"
      src={user.avatar || `https://sigil.cupcake.io/uwave-${encodeURIComponent(user._id)}`}
      alt={user.username}
    />
  </div>
);
{'fraction_non_alphanumeric': 0.17181705809641531, 'fraction_numerical': 0.0, 'mean_word_length': 4.031055900621118, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 11, 'https://': 1, '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': '3843096', 'n_tokens_mistral': 261, 'n_tokens_neox': 266, 'n_words': 60}