added index
This commit is contained in:
parent
9b24aaf349
commit
3336061691
|
@ -114,7 +114,9 @@ export function AnswersPanel(props: {
|
||||||
? 'checkbox'
|
? 'checkbox'
|
||||||
: undefined
|
: undefined
|
||||||
|
|
||||||
const answersArray = useChartAnswers(contract).map((answer) => answer.text)
|
const answersArray = useChartAnswers(contract).map(
|
||||||
|
(answer, _index) => answer.text
|
||||||
|
)
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Col className="gap-3">
|
<Col className="gap-3">
|
||||||
|
|
|
@ -88,7 +88,9 @@ export function FreeResponseComments(props: {
|
||||||
commentsByParent,
|
commentsByParent,
|
||||||
tips,
|
tips,
|
||||||
} = props
|
} = props
|
||||||
const answersArray = useChartAnswers(contract).map((answer) => answer.text)
|
const answersArray = useChartAnswers(contract).map(
|
||||||
|
(answer, _index) => answer.text
|
||||||
|
)
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
{answerResponse && (
|
{answerResponse && (
|
||||||
|
|
Loading…
Reference in New Issue
Block a user