Skip to content

Commit d2511f0

Browse files
webJoseCopilot
andauthored
Use const in loop
Co-authored-by: Copilot <[email protected]>
1 parent 4ccad8c commit d2511f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export function expandAriaAttributes(aria: ActiveStateAriaAttributes | undefined
5656
return undefined;
5757
}
5858
const result = {} as AriaAttributes;
59-
for (let [k, v] of Object.entries(aria)) {
59+
for (const [k, v] of Object.entries(aria)) {
6060
if (v !== undefined) {
6161
// @ts-expect-error TS7053 - We know this construction is correct.
6262
result[`aria-${k}`] = v;

0 commit comments

Comments
 (0)