Skip to content
This repository was archived by the owner on Jan 2, 2024. It is now read-only.

Commit

Permalink
Use question index as the question number (#207)
Browse files Browse the repository at this point in the history
  • Loading branch information
anjula-sack authored Jul 17, 2021
1 parent 2e4b0d2 commit 6f0ac92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/scenes/Home/scenes/MentorApplication/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,11 @@ function MentorApplication() {
form={form}
>
{questions.length > 0 &&
questions.map((question: Question) => (
questions.map((question: Question, index: number) => (
<Row key={question.id}>
<Col span={16} offset={4}>
<Title level={4}>
{question.id}.{question.question}
{index + 1}.{question.question}
</Title>
<Form.Item
name={question.id}
Expand Down

0 comments on commit 6f0ac92

Please sign in to comment.