mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
faulty purgatory response workaround (#1016)
This commit is contained in:
parent
f55d8d9a91
commit
409f0c51fb
@ -97,9 +97,8 @@ function AssetProvider({
|
|||||||
setDDO(ddo)
|
setDDO(ddo)
|
||||||
setTitle(ddo.metadata.name)
|
setTitle(ddo.metadata.name)
|
||||||
setOwner(ddo.nft.owner)
|
setOwner(ddo.nft.owner)
|
||||||
setIsInPurgatory(ddo.purgatory?.state)
|
setIsInPurgatory((ddo.purgatory?.state as unknown as string) === 'true')
|
||||||
setPurgatoryData(ddo.purgatory)
|
setPurgatoryData(ddo.purgatory)
|
||||||
// setPurgatory(ddo.purgatory)
|
|
||||||
}
|
}
|
||||||
init()
|
init()
|
||||||
return () => {
|
return () => {
|
||||||
|
Loading…
Reference in New Issue
Block a user