<commit_before>import React, { FunctionComponent } from 'react';
import { useDispatch } from 'react-redux';

import { renderModal } from '../../store/appState/actions';

import { ReactComponent as PrintIcon } from '../../../images/printIcon.svg';

const PrintWidget: FunctionComponent = () => {
  const dispatch = useDispatch();

  return (
    <>
      <div className="widget-container">
        <button
          className="image-wrapper"
          onClick={(): object => dispatch(renderModal('PrintWidget'))}
        >
          <PrintIcon height={25} width={25} fill={'#555'} />
        </button>
      </div>
    </>
  );
};

export default PrintWidget;
<commit_msg>removed return type to clean up PR<commit_after>import React, { FunctionComponent } from 'react';
import { useDispatch } from 'react-redux';

import { renderModal } from '../../store/appState/actions';

import { ReactComponent as PrintIcon } from '../../../images/printIcon.svg';

const PrintWidget: FunctionComponent = () => {
  const dispatch = useDispatch();

  return (
    <>
      <div className="widget-container">
        <button
          className="image-wrapper"
          onClick={() => dispatch(renderModal('PrintWidget'))}
        >
          <PrintIcon height={25} width={25} fill={'#555'} />
        </button>
      </div>
    </>
  );
};

export default PrintWidget;

{'fraction_non_alphanumeric': 0.16605166051660517, 'fraction_numerical': 0.010332103321033211, 'mean_word_length': 2.830508474576271, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 21, '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': '4929681', 'n_tokens_mistral': 381, 'n_tokens_neox': 378, 'n_words': 89}