Fix: key-id collision, concatenate more fields to make unique keys
This commit is contained in:
parent
2998c0b36c
commit
93c11f128e
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue