Fix: key-id collision, concatenate more fields to make unique keys

This commit is contained in:
Richard Wong 2023-11-09 23:00:04 +09:00
parent 2998c0b36c
commit 93c11f128e
Signed by: richard
GPG Key ID: 5BD36BA2E9EE33D0
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ const GenerateTestList = ({ packs, testCount, toShuffle}) => {
const ArrayTester = ({ array }) => { const ArrayTester = ({ array }) => {
const list = array.map((element) => ( const list = array.map((element) => (
<VerseValidator key={element.reference} element={element} /> <VerseValidator key={element.pack + element.title + element.reference} element={element} />
)) ))
return list return list
} }