Skip to content

Commit 22dc493

Browse files
committed
[TOOL-3046]: Do not show invalid string error if NFT description is undefined (#5939)
1 parent fbf26d8 commit 22dc493

File tree

1 file changed

+1
-1
lines changed
  • apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/nfts/components

1 file changed

+1
-1
lines changed

apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/[contractAddress]/nfts/components/table.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ export const NFTGetAllTable: React.FC<ContractOverviewNFTGetAllProps> = ({
9595
Header: "Description",
9696
accessor: (row) => row.metadata.description,
9797
Cell: (cell: CellProps<NFT, string>) => {
98-
if (typeof cell.value !== "string") {
98+
if (cell.value && typeof cell.value !== "string") {
9999
return (
100100
<UnexpectedValueErrorMessage
101101
title="Invalid description"

0 commit comments

Comments
 (0)