From c3eb483224539c87072216bc39e76849ec355e7e Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sat, 21 Feb 2026 11:02:42 +0200 Subject: [PATCH] chore(promoted_attributes): unnecessary use of .entries() --- apps/client/src/widgets/PromotedAttributes.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/client/src/widgets/PromotedAttributes.tsx b/apps/client/src/widgets/PromotedAttributes.tsx index 6b6543b9d0..9b2f0ad380 100644 --- a/apps/client/src/widgets/PromotedAttributes.tsx +++ b/apps/client/src/widgets/PromotedAttributes.tsx @@ -109,7 +109,7 @@ export function usePromotedAttributeData(note: FNote | null | undefined, compone valueAttrs = valueAttrs.slice(0, 1); } - for (const [ i, valueAttr ] of valueAttrs.entries()) { + for (const valueAttr of valueAttrs) { const definition = definitionAttr.getDefinition(); // if not owned, we'll force creation of a new attribute instead of updating the inherited one