mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
fix build
This commit is contained in:
parent
08b90b3635
commit
a1abc9cff0
@ -30,8 +30,8 @@ export default function EditHistory({
|
||||
receipts,
|
||||
setReceipts
|
||||
}: {
|
||||
receipts: ReceiptData[]
|
||||
setReceipts: (receipts: ReceiptData[]) => void
|
||||
receipts: NftUpdate[]
|
||||
setReceipts: (receipts: NftUpdate[]) => void
|
||||
}): ReactElement {
|
||||
const { asset } = useAsset()
|
||||
|
||||
@ -73,8 +73,6 @@ export default function EditHistory({
|
||||
//
|
||||
// 2. Construct display data based on fetched data.
|
||||
//
|
||||
const [receipts, setReceipts] = useState<NftUpdate[]>()
|
||||
|
||||
useEffect(() => {
|
||||
if (!data || data.nftUpdates.length === 0) return
|
||||
const receiptCollection = data.nftUpdates
|
||||
|
Loading…
Reference in New Issue
Block a user