mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
27 lines
587 B
TypeScript
27 lines
587 B
TypeScript
import React from 'react';
|
|
|
|
import type { FheOperation } from 'types/api/fheOperations';
|
|
|
|
import TxFHEOperationsListItem from 'ui/tx/fheOperations/TxFHEOperationsListItem';
|
|
|
|
interface Props {
|
|
data: Array<FheOperation>;
|
|
isLoading?: boolean;
|
|
}
|
|
|
|
const TxFHEOperationsList = ({ data, isLoading }: Props) => {
|
|
return (
|
|
<div className="lg:hidden">
|
|
{ data.map((op) => (
|
|
<TxFHEOperationsListItem
|
|
key={ op.log_index }
|
|
{ ...op }
|
|
isLoading={ isLoading }
|
|
/>
|
|
)) }
|
|
</div>
|
|
);
|
|
};
|
|
|
|
export default React.memo(TxFHEOperationsList);
|