fix(frontend): Avoid using the index of an array as key property in an element

This commit is contained in:
tigattack
2025-09-24 23:55:25 +01:00
parent 74f42b5bee
commit 53f8471d75
4 changed files with 11 additions and 8 deletions

View File

@@ -987,7 +987,7 @@ const TfaTab = () => {
<div className="grid grid-cols-2 gap-2 font-mono text-sm">
{backupCodes.map((code, index) => (
<div
key={index}
key={code}
className="flex items-center justify-between py-1"
>
<span className="text-secondary-600 dark:text-secondary-400">