<commit_before>import {connect} from 'react-redux';
import ItemList from './ItemList';

const mapStateToProps = (state) => {
    const {selectedBoard, boards} = state;
    const {items} = boards[selectedBoard] || {
        items: []
    };

    return {'items': items};
};

const VisibleItemList = connect(mapStateToProps)(ItemList);

export default VisibleItemList;<commit_msg>[fix] Only display the correct cards per category<commit_after>import {connect} from 'react-redux';
import ItemList from './ItemList';

const mapStateToProps = (state) => {
    return {};
};

const VisibleItemList = connect(mapStateToProps)(ItemList);

export default VisibleItemList;
{'fraction_non_alphanumeric': 0.13141993957703926, 'fraction_numerical': 0.0, 'mean_word_length': 5.027272727272727, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '6069982', 'n_tokens_mistral': 197, 'n_tokens_neox': 193, 'n_words': 52}