\n \n Details \n \n\n \n {DealTitles.PieceCID}\n \n \n {truncateStringInTheMiddle(deal.PieceCID, 6, 4)}\n \n \n
\n \n {DealTitles.PayloadCID}\n \n {truncateStringInTheMiddle(deal.Label, 6, 4)}\n \n
\n\n \n {DealTitles.DealID}\n \n {deal.DealID}\n \n
\n \n {DealTitles.MinerID}\n \n {deal.MinerID}\n \n
\n \n {DealTitles.Client}\n \n {deal.Client}\n \n
\n \n {DealTitles.ClientAddress}\n \n \n {truncateStringInTheMiddle(clientAddress, 6, 4)}\n \n \n
\n \n {DealTitles.PieceSize}\n \n {deal.PieceSize}\n
\n \n {DealTitles.VerifiedDeal}\n \n {deal.VerifiedDeal ? 'True' : 'False'}\n
\n \n {DealTitles.StartEpoch}\n \n {deal.StartEpoch}\n
\n \n {DealTitles.StartEpochAsDate}\n \n {formatDate(deal.StartEpochAsDate)}\n
\n \n {DealTitles.EndEpoch}\n \n {deal.EndEpoch}\n
\n \n {DealTitles.EndEpochAsDate}\n \n {formatDate(deal.EndEpochAsDate)}\n
\n \n {DealTitles.StoragePricePerEpoch}\n \n {deal.StoragePricePerEpoch}\n
\n \n {DealTitles.ProviderCollateral}\n \n {deal.ProviderCollateral}\n
\n \n {DealTitles.ClientCollateral}\n \n {deal.ClientCollateral}\n
\n \n {DealTitles.State}\n \n \n {' '}\n \n {deal.State}\n \n
\n\n \n \n )\n}\n","import React, { HTMLAttributes, useEffect, useState } from 'react'\n\nimport { DealItem } from './dealItem.component'\nimport { RemoteData } from '../utils/remoteData'\nimport { DealDetailModal } from './dealDetailModal.component'\nimport { DealValue } from '../utils/types'\n\ninterface Props extends HTMLAttributes