import { Table, Tbody, Th, Tr } from '@chakra-ui/react'; import React from 'react'; import type { UserOpsItem } from 'types/api/userOps'; import config from 'configs/app'; import { default as Thead } from 'ui/shared/TheadSticky'; import UserOpsTableItem from './UserOpsTableItem'; type Props = { items: Array; isLoading?: boolean; top: number; showTx: boolean; showSender: boolean; }; const UserOpsTable = ({ items, isLoading, top, showTx, showSender }: Props) => { return ( { showSender && } { showTx && } { !config.UI.views.tx.hiddenFields?.tx_fee && } { items.map((item, index) => { return ( ); }) }
User op hash Age StatusSenderTx hashBlock{ `Fee ${ config.chain.currency.symbol }` }
); }; export default UserOpsTable;