<commit_before>import React from 'react';
import { sectorShape } from '_components/shapes';
import { Helmet } from 'react-helmet';

import Celda from '_containers/celda';

import { ANCHO_CELDA } from '../common';

export default function SectorComponent({ sector }) {
  if (!sector) return <img alt="loading..." src="/loading.gif" />;
  const { ancho, alto, celdas, descrCorta } = sector;
  return (
    <div>
      <Helmet>
        <title>
          {descrCorta}
        </title>
      </Helmet>
      <svg viewBox={`0 0 ${ancho * ANCHO_CELDA} ${alto * ANCHO_CELDA}`}>
        {celdas.map(idCelda => <Celda key={idCelda} idCelda={idCelda} />)}
      </svg>
    </div>
  );
}

SectorComponent.propTypes = {
  sector: sectorShape,
};
<commit_msg>Fixing the reference to the loading animation. It should actually go on a separate component<commit_after>import React from 'react';
import { sectorShape } from '_components/shapes';
import { Helmet } from 'react-helmet';

import Celda from '_containers/celda';

import { ANCHO_CELDA } from '../common';

export default function SectorComponent({ sector }) {
  if (!sector) return <img alt="loading..." src="/icons/loading.gif" />;
  const { ancho, alto, celdas, descrCorta } = sector;
  return (
    <div>
      <Helmet>
        <title>
          {descrCorta}
        </title>
      </Helmet>
      <svg viewBox={`0 0 ${ancho * ANCHO_CELDA} ${alto * ANCHO_CELDA}`}>
        {celdas.map(idCelda => <Celda key={idCelda} idCelda={idCelda} />)}
      </svg>
    </div>
  );
}

SectorComponent.propTypes = {
  sector: sectorShape,
};

{'fraction_non_alphanumeric': 0.15619047619047619, 'fraction_numerical': 0.0025396825396825397, 'mean_word_length': 3.158311345646438, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 25, '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': '6482213', 'n_tokens_mistral': 563, 'n_tokens_neox': 550, 'n_words': 134}