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)
|
||||
setTitle(ddo.metadata.name)
|
||||
setOwner(ddo.nft.owner)
|
||||
setIsInPurgatory(ddo.purgatory?.state)
|
||||
setIsInPurgatory((ddo.purgatory?.state as unknown as string) === 'true')
|
||||
setPurgatoryData(ddo.purgatory)
|
||||
// setPurgatory(ddo.purgatory)
|
||||
}
|
||||
init()
|
||||
return () => {
|
||||
|
Loading…
Reference in New Issue
Block a user