<commit_before>import { makeStyles } from '@material-ui/core'
import * as R from 'ramda'
import React, { memo, useState } from 'react'

import { Table as EditableTable } from 'src/components/editableTable'
import { Select } from 'src/components/inputs'
import {
  overridesDefaults,
  getCommissions,
  getListCommissionsSchema,
  commissionsList
} from 'src/pages/Commissions/helper'

const styles = {
  headerLine: {
    display: 'flex',
    justifyContent: '',
    marginBottom: 24
  },
  select: {
    marginRight: 24
  },
  tableWrapper: {
    flex: 1,
    display: 'block',
    overflowX: 'auto',
    width: '100%',
    maxHeight: '70vh'
  }
}

const SHOW_ALL = {
  code: 'SHOW_ALL',
  display: 'Show all'
}

const ORDER_OPTIONS = [
  {
    code: 'machine',
    display: 'Machine Name'
  },
  {
    code: 'cryptoCurrencies',
    display: 'Cryptocurrency'
  },
  {
    code: 'cashIn',
    display: 'Cash-in'
  },
  {
    code: 'cashOut',<commit_msg>fix: horizontal overflow causing scrollbar<commit_after>import { makeStyles } from '@material-ui/core'
import * as R from 'ramda'
import React, { memo, useState } from 'react'

import { Table as EditableTable } from 'src/components/editableTable'
import { Select } from 'src/components/inputs'
import {
  overridesDefaults,
  getCommissions,
  getListCommissionsSchema,
  commissionsList
} from 'src/pages/Commissions/helper'

const styles = {
  headerLine: {
    display: 'flex',
    justifyContent: '',
    marginBottom: 24
  },
  select: {
    marginRight: 24
  },
  tableWrapper: {
    flex: 1,
    display: 'block',
    overflowX: 'hidden',
    width: '100%',
    maxHeight: '70vh'
  }
}

const SHOW_ALL = {
  code: 'SHOW_ALL',
  display: 'Show all'
}

const ORDER_OPTIONS = [
  {
    code: 'machine',
    display: 'Machine Name'
  },
  {
    code: 'cryptoCurrencies',
    display: 'Cryptocurrency'
  },
  {
    code: 'cashIn',
    display: 'Cash-in'
  },
  {
    code: 'cashOut',
{'fraction_non_alphanumeric': 0.13563692625064466, 'fraction_numerical': 0.010314595152140279, 'mean_word_length': 3.2450765864332602, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4556320', 'n_tokens_mistral': 703, 'n_tokens_neox': 680, 'n_words': 159}