Skip to content

Commit

Permalink
Fix pagination error
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanchua00 committed Nov 15, 2023
1 parent d3f2a0e commit 0091ee4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/components/ProfilePage/HistoryTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -275,10 +275,10 @@ const HistoryTable = ({ username }: HistoryTableProps) => {
<Box sx={{ width: "50%", height: "80vh", padding: 8 }}>
<CodeBlock
code={
displayedResponses[questionNumber - 1] ==
displayedResponses[questionNumber] ==
undefined
? " Press the question number "
: displayedResponses[questionNumber - 1]
: displayedResponses[questionNumber]
.text
}
language={modalLanguage}
Expand Down

0 comments on commit 0091ee4

Please sign in to comment.