We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f486e9c + 549dd36 commit 2d32a93Copy full SHA for 2d32a93
src/components/item-details-card.js
@@ -185,13 +185,16 @@ const ItemDetailsCard = ({
185
))}
186
</StyledFields>
187
)}
188
- {isSeerRegistry(tcrAddress, chainId) && item && (
189
- <SeerExtraDetails
190
- chainId={chainId}
191
- contractAddress={item.decodedData[0]}
192
- imagesIpfsHash={item.decodedData[1]}
193
- />
194
- )}
+ {tcrAddress !== undefined &&
+ chainId !== undefined &&
+ isSeerRegistry(tcrAddress, chainId) &&
+ item && (
+ <SeerExtraDetails
+ chainId={chainId}
+ contractAddress={item.decodedData[0]}
195
+ imagesIpfsHash={item.decodedData[1]}
196
+ />
197
+ )}
198
</Card>
199
)
200
}
0 commit comments