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

Commit

Permalink
Release ScholarX v1.2.5
Browse files Browse the repository at this point in the history
ScholarX v1.2.5
  • Loading branch information
Piumal1999 authored Jul 30, 2021
2 parents c669c9b + 72093a3 commit 513ecb2
Showing 1 changed file with 18 additions and 17 deletions.
35 changes: 18 additions & 17 deletions src/scenes/Home/scenes/EditMentorApplication/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -124,23 +124,24 @@ function MentorApplication() {
form={form}
>
{responses.length > 0 &&
responses.map((question: QuestionResponse) => (
<Row key={question.id.questionId}>
<Col span={16} offset={4}>
<Title level={4}>
{question.id.questionId}.
{question.question.question}
</Title>
<Form.Item
name={question.id.questionId}
initialValue={question.response}
rules={[{ required: true }]}
>
<TextArea rows={5} />
</Form.Item>
</Col>
</Row>
))}
responses.map(
(question: QuestionResponse, index: number) => (
<Row key={question.id.questionId}>
<Col span={16} offset={4}>
<Title level={4}>
{index + 1}.{question.question.question}
</Title>
<Form.Item
name={question.id.questionId}
initialValue={question.response}
rules={[{ required: true }]}
>
<TextArea rows={5} />
</Form.Item>
</Col>
</Row>
)
)}
<Row>
<Col
span={10}
Expand Down

0 comments on commit 513ecb2

Please sign in to comment.