<commit_before>import { createElement as h, Fragment, useMemo } from 'react'

// import selectLanguagesValue from '../../selectors/selectLanguagesValue'
import languagesLoader from '../../loaders/languagesLoader'
import enhanceLanguages from '../../enhancers/enhanceLanguages'
import overviewRoute from '../../utils/overviewRoute'

import CardLanguages from '../cards/CardLanguages'

const RouteLanguages = (props) => {

	const widgetIds = useMemo(() => {

		return props.domains.value.map(
			(domain) => {
				const loader = languagesLoader(domain.id, {
					range: props.filter.range,
					sorting: props.filter.sorting
				})

				props.fetchWidget(props, loader)
				return loader.id
			}
		)

	}, [ props.domains.value, props.filter.range, props.filter.sorting ])

	return (
		h(Fragment, {},

			props.domains.value.map(
				(domain, index) => {<commit_msg>Remove unused import<commit_after>import { createElement as h, Fragment, useMemo } from 'react'

import languagesLoader from '../../loaders/languagesLoader'
import enhanceLanguages from '../../enhancers/enhanceLanguages'
import overviewRoute from '../../utils/overviewRoute'

import CardLanguages from '../cards/CardLanguages'

const RouteLanguages = (props) => {

	const widgetIds = useMemo(() => {

		return props.domains.value.map(
			(domain) => {
				const loader = languagesLoader(domain.id, {
					range: props.filter.range,
					sorting: props.filter.sorting
				})

				props.fetchWidget(props, loader)
				return loader.id
			}
		)

	}, [ props.domains.value, props.filter.range, props.filter.sorting ])

	return (
		h(Fragment, {},

			props.domains.value.map(
				(domain, index) => {
{'fraction_non_alphanumeric': 0.14397590361445783, 'fraction_numerical': 0.0, 'mean_word_length': 3.5506849315068494, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, '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': '3132864', 'n_tokens_mistral': 576, 'n_tokens_neox': 496, 'n_words': 110}