mirror of
https://github.com/status-im/ETHReport.git
synced 2025-02-13 14:46:41 +00:00
Fix SingleInterview indexing
This commit is contained in:
parent
5e815e4bad
commit
20f54315e6
@ -13,7 +13,7 @@ const SingleInterview = props => (
|
||||
<span className="name"> { props.selectedInterview.name } </span>
|
||||
{ props.selectedInterview.interview.filter(interview => interview.answer !== null)
|
||||
.map((interview, index) => {
|
||||
const question = props.questions[interview.question];
|
||||
const question = props.questions.find(q => q.id === interview.question);
|
||||
|
||||
return (
|
||||
<div key={`question-${question.id}`}>
|
||||
|
Loading…
x
Reference in New Issue
Block a user