Skip to content

Commit 10e7780

Browse files
committed
fix: fix
1 parent ec77508 commit 10e7780

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/assets-controllers/src/NftController.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ export class NftController extends BaseControllerV1<NftConfig, NftState> {
315315
},
316316
});
317317
// if we were still unable to fetch the data we return out the default/null of `NftMetadata`
318-
if (!nftInformation?.tokens[0].token) {
318+
if (!nftInformation?.tokens?.[0]?.token) {
319319
return {
320320
name: null,
321321
description: null,

0 commit comments

Comments
 (0)