Skip to content

Commit

Permalink
[TOOL-3046]: Do not show invalid string error if NFT description is u…
Browse files Browse the repository at this point in the history
…ndefined (#5939)
  • Loading branch information
MananTank committed Jan 14, 2025
1 parent fbf26d8 commit 22dc493
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export const NFTGetAllTable: React.FC<ContractOverviewNFTGetAllProps> = ({
Header: "Description",
accessor: (row) => row.metadata.description,
Cell: (cell: CellProps<NFT, string>) => {
if (typeof cell.value !== "string") {
if (cell.value && typeof cell.value !== "string") {
return (
<UnexpectedValueErrorMessage
title="Invalid description"
Expand Down

0 comments on commit 22dc493

Please sign in to comment.