<commit_before>import React from 'react';
import PropTypes from 'prop-types';
import { Icon } from 'react-components';
import humanSize from 'proton-shared/lib/helpers/humanSize';

const MemberFeatures = ({ member }) => {
    const { MaxSpace, MaxVPN } = member;

    return (
        <>
            <div>
                <Icon name="user-storage" /> {humanSize(MaxSpace, 'GB')}
            </div>
            <div>
                <Icon name="protonvpn" /> {MaxVPN}
            </div>
        </>
    );
};

MemberFeatures.propTypes = {
    member: PropTypes.object.isRequired
};

export default MemberFeatures;<commit_msg>Display UsedSpace for member<commit_after>import React from 'react';
import PropTypes from 'prop-types';
import { Icon } from 'react-components';
import humanSize from 'proton-shared/lib/helpers/humanSize';

const MemberFeatures = ({ member }) => {
    const { UsedSpace, MaxSpace, MaxVPN } = member;

    return (
        <>
            <div>
                <Icon name="user-storage" /> {humanSize(UsedSpace, 'GB')} / {humanSize(MaxSpace, 'GB')}
            </div>
            <div>
                <Icon name="protonvpn" /> {MaxVPN}
            </div>
        </>
    );
};

MemberFeatures.propTypes = {
    member: PropTypes.object.isRequired
};

export default MemberFeatures;
{'fraction_non_alphanumeric': 0.14022988505747128, 'fraction_numerical': 0.0, 'mean_word_length': 2.340153452685422, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 21, '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': '4226672', 'n_tokens_mistral': 388, 'n_tokens_neox': 384, 'n_words': 87}