diff --git a/packages/assets-controllers/src/TokensController.ts b/packages/assets-controllers/src/TokensController.ts index 5c49ef469f..969d5d8215 100644 --- a/packages/assets-controllers/src/TokensController.ts +++ b/packages/assets-controllers/src/TokensController.ts @@ -767,7 +767,7 @@ export class TokensController extends BaseController< } let newAllDetectedTokens = allDetectedTokens; - if (newDetectedTokens?.length) { + if (newDetectedTokens !== undefined) { const networkDetectedTokens = allDetectedTokens[chainIdToAddTokens]; const newDetectedNetworkTokens = { ...networkDetectedTokens,