From c47df15aaaebb21d1f4e477f6cef2aa4007d299b Mon Sep 17 00:00:00 2001 From: Chu Yi Ting Date: Mon, 4 Nov 2024 12:36:55 +0800 Subject: [PATCH 1/5] Minor ui fixes --- .../components/blocks/interview/question-attempts/table.tsx | 3 ++- frontend/src/routes/match/match-form.tsx | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/blocks/interview/question-attempts/table.tsx b/frontend/src/components/blocks/interview/question-attempts/table.tsx index db2cf889f9..893dce4f54 100644 --- a/frontend/src/components/blocks/interview/question-attempts/table.tsx +++ b/frontend/src/components/blocks/interview/question-attempts/table.tsx @@ -171,7 +171,8 @@ export function QuestionAttemptsTable({ - {table.getState().pagination.pageIndex + 1} of {table.getPageCount()} + {table.getState().pagination.pageIndex + 1} of{' '} + {Math.max(1, table.getPageCount())}