Skip to content

Commit

Permalink
fix: add missing key to items in marking page question list
Browse files Browse the repository at this point in the history
  • Loading branch information
procaconsul committed Jun 13, 2024
1 parent a62bc67 commit 84edf35
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pages/MarkingPage/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Separator } from '@radix-ui/themes'
import { Box, Separator } from '@radix-ui/themes'
import { instanceToPlain } from 'class-transformer'
import { map, sum } from 'lodash'
import React, { FC, useEffect } from 'react'
Expand All @@ -25,7 +25,7 @@ const MarkingPage: FC = () => {
<>
{Object.entries(questions).map(([questionIDString, question]) => {
return (
<>
<Box key={questionIDString}>
<QuestionHeader number={questionIDString} title={question.title} />
<Body>
<Question instructions={question.instructions}>
Expand Down Expand Up @@ -67,7 +67,7 @@ const MarkingPage: FC = () => {
})}
</Question>
</Body>
</>
</Box>
)
})}
</>
Expand Down

0 comments on commit 84edf35

Please sign in to comment.