Skip to content

Commit e9b0557

Browse files
author
yaroslav8765
committed
chore: rename variables k and v to the key and value
1 parent 18f3457 commit e9b0557

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adminforth/modules/codeInjector.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,7 @@ class CodeInjector implements ICodeInjector {
551551
if(headItems){
552552
const renderedHead = headItems.map(({ tagName, attributes }) => {
553553
const attrs = Object.entries(attributes)
554-
.map(([k, v]) => `${k}="${v}"`)
554+
.map(([key, value]) => `${key}="${value}"`)
555555
.join(' ');
556556
const isVoid = ['area', 'base', 'br', 'col', 'embed', 'hr', 'img', 'input', 'link', 'meta', 'source', 'track', 'wbr'].includes(tagName);
557557
return isVoid

0 commit comments

Comments
 (0)