Bug: Prediction section seems to lack a unique key prop

Preconditions:

  • logged in as testuser4
  • select analyses 1
  • select allele id 594

url:

http://localhost:8090/analyses/1

following race condition:

index.js:1 Warning: Each child in a list should have a unique "key" prop.

Check the render method of `Prediction`. See https://reactjs.org/link/warning-keys for more information.
    at li
    at Prediction (http://localhost:8090/static/js/main.chunk.js:34092:83)
    at div
    at AlleleInterpretationForm (http://localhost:8090/static/js/main.chunk.js:26046:124)
    at main
    at div
    at div
    at div
    at LayoutContainer (http://localhost:8090/static/js/main.chunk.js:11404:5)
    at AnalysisInterpretationUIProvider (http://localhost:8090/static/js/main.chunk.js:24015:138)
    at InterpretationStateProvider (http://localhost:8090/static/js/main.chunk.js:23703:5)
    at InterpretationStateWrapper (http://localhost:8090/static/js/main.chunk.js:23064:5)
    at AnalysisInterpretationProvider (http://localhost:8090/static/js/main.chunk.js:23315:5)
    at AnalysisInterpretation (http://localhost:8090/static/js/main.chunk.js:23032:73)
    at Outlet (http://localhost:8090/static/js/vendors~main.chunk.js:252252:10)
    at LayoutProvider (http://localhost:8090/static/js/main.chunk.js:11188:5)
    at ViewContainer
    at AuthenticatedRoute (http://localhost:8090/static/js/main.chunk.js:97:63)
    at Routes (http://localhost:8090/static/js/vendors~main.chunk.js:252344:5)
    at AuthProvider (http://localhost:8090/static/js/main.chunk.js:1403:5)
    at Router (http://localhost:8090/static/js/vendors~main.chunk.js:252277:15)
    at BrowserRouter (http://localhost:8090/static/js/vendors~main.chunk.js:251792:5)
    at ErrorBoundary (http://localhost:8090/static/js/main.chunk.js:1140:5)
    at App
    at Provider (http://localhost:8090/static/js/vendors~main.chunk.js:248969:20)
console.<computed> @ index.js:1
overrideMethod @ react_devtools_backend.js:3973
printWarning @ react-jsx-dev-runtime.development.js:117
error @ react-jsx-dev-runtime.development.js:93
validateExplicitKey @ react-jsx-dev-runtime.development.js:986
validateChildKeys @ react-jsx-dev-runtime.development.js:1013
jsxWithValidation @ react-jsx-dev-runtime.development.js:1184
Prediction @ Prediction.tsx:143
renderWithHooks @ react-dom.development.js:14985
updateFunctionComponent @ react-dom.development.js:17356
beginWork @ react-dom.development.js:19063
beginWork$1 @ react-dom.development.js:23940
performUnitOfWork @ react-dom.development.js:22776
workLoopSync @ react-dom.development.js:22707
renderRootSync @ react-dom.development.js:22670
performSyncWorkOnRoot @ react-dom.development.js:22293
(anonymous) @ react-dom.development.js:11327
unstable_runWithPriority @ scheduler.development.js:468
runWithPriority$1 @ react-dom.development.js:11276
flushSyncCallbackQueueImpl @ react-dom.development.js:11322
flushSyncCallbackQueue @ react-dom.development.js:11309
discreteUpdates$1 @ react-dom.development.js:22420
discreteUpdates @ react-dom.development.js:3756
dispatchDiscreteEvent @ react-dom.development.js:5889
BroadcastNotifier.tsx:18