<commit_before>import React from 'react';
import { connect } from 'react-redux';

const focusContent = require('../../../data/focusContent.json');

export function Focus({focusId}) {
    return React.createElement('article', {className: 'focus'},
        React.createElement('h1', {}, 'Focus ', focusId),
        React.createElement('p', {}, focusContent[focusId])
    );
}

export default connect(
    state => {
        const { breadcrumb } = state;
        return {focusId: breadcrumb.last()};
    },
    () => ({})
)(Focus);<commit_msg>Correction du chemin des données focus en utilisation avec babelify<commit_after>import React from 'react';
import { connect } from 'react-redux';

const focusContent = require('../../../../../data/focusContent.json');

export function Focus({focusId}) {
    return React.createElement('article', {className: 'focus'},
        React.createElement('h1', {}, 'Focus ', focusId),
        React.createElement('p', {}, focusContent[focusId])
    );
}

export default connect(
    state => {
        const { breadcrumb } = state;
        return {focusId: breadcrumb.last()};
    },
    () => ({})
)(Focus);
{'fraction_non_alphanumeric': 0.1824561403508772, 'fraction_numerical': 0.0017543859649122807, 'mean_word_length': 3.3884615384615384, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '6190028', 'n_tokens_mistral': 323, 'n_tokens_neox': 327, 'n_words': 76}