diff --git a/src/@context/Asset.tsx b/src/@context/Asset.tsx index 763369695..e1a414f4f 100644 --- a/src/@context/Asset.tsx +++ b/src/@context/Asset.tsx @@ -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 () => {