// @ts-nocheck import React from 'react'; import intl from 'react-intl-universal'; import { Button, Intent, Menu, MenuItem } from '@blueprintjs/core'; import { Popover2 } from '@blueprintjs/popover2'; import { useFormikContext } from 'formik'; import { Icon, Hint, ExchangeRateInputGroup, FormattedMessage as T, } from '@/components'; import { InputGroupCell, MoneyFieldCell, AccountsListFieldCell, ProjectsListFieldCell, CheckBoxFieldCell, } from '@/components/DataTableCells'; import { CellType, Features, Align } from '@/constants'; import { useCurrentOrganization, useFeatureCan } from '@/hooks/state'; import { useExpensesIsForeign } from './utils'; /** * Expense category header cell. */ const ExpenseCategoryHeaderCell = () => { return ( <> ); }; /** * Actions cell renderer. */ const ActionsCellRenderer = ({ row: { index }, column: { id }, cell: { value: initialValue }, data, payload, }) => { const handleClickRemoveRole = () => { payload.removeRow(index); }; const exampleMenu = ( ); return (