import {t} from 'i18next-client';

const Translation = Component => class TranslatedComponent extends Component {
    constructor(props) {
        super(props);
        this.i18n = t;
    }
};


export default Translation;

import {translate} from 'focus-core/translation';

const Translation = Component => class TranslatedComponent extends Component {
    constructor(props) {
        super(props);
        this.i18n = translate;
    }
};


export default Translation;

Fix import from npm to focus-core
Fix import from npm to focus-core
