<commit_before>﻿import ConfigurationKey from './ConfigurationKey';

class ConfigurationList extends React.Component {
    constructor(props) {
        super(props);

        this.state = {
            configKeys: props.configKeys
        };
    }

    render() {
        return (
            <div>
                <ul>
                    {this.state.configKeys.map((configKey) =>
                        <ConfigurationKey configKey={configKey.Key} />
                    )}
                </ul>
                
            </div>
        );
    }
}

export default ConfigurationList;<commit_msg>Adding required key attribute<commit_after>﻿import ConfigurationKey from './ConfigurationKey';

class ConfigurationList extends React.Component {
    constructor(props) {
        super(props);

        this.state = {
            configKeys: props.configKeys
        };
    }

    render() {
        return (
            <div>
                <ul>
                    {this.state.configKeys.map((configKey, index) =>
                        <ConfigurationKey key={index} configKey={configKey.Key} />
                    )}
                </ul>
                
            </div>
        );
    }
}

export default ConfigurationList;
{'fraction_non_alphanumeric': 0.10398050365556458, 'fraction_numerical': 0.0, 'mean_word_length': 1.3511450381679388, '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': '3873178', 'n_tokens_mistral': 309, 'n_tokens_neox': 290, 'n_words': 54}