diff --git a/app/scripts/eslint/i18n-usage.ts b/app/scripts/eslint/i18n-usage.ts index d9ad00480..aaa55627c 100644 --- a/app/scripts/eslint/i18n-usage.ts +++ b/app/scripts/eslint/i18n-usage.ts @@ -51,7 +51,7 @@ function getMemberKey(node: TSESTree.MemberExpression) { // strings['title'] if (node.computed && node.property?.type === "Literal" && typeof node.property.value === "string") { - node.property.value; + return node.property.value; } return undefined; diff --git a/app/src/views/AccountDetails/index.tsx b/app/src/views/AccountDetails/index.tsx index 6dd8301ac..3aaddf43b 100644 --- a/app/src/views/AccountDetails/index.tsx +++ b/app/src/views/AccountDetails/index.tsx @@ -218,6 +218,8 @@ export function Component() { withPadding withDarkBackground spacing="lg" + empty={isNotDefined(montandonTokenResponse) + || montandonTokenResponse.results.length === 0} >