Skip to content

Commit c47df15

Browse files
committed
Minor ui fixes
1 parent ff48cc5 commit c47df15

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

frontend/src/components/blocks/interview/question-attempts/table.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,8 @@ export function QuestionAttemptsTable<TValue>({
171171
</Button>
172172
</PaginationItem>
173173
<PaginationItem className='text-sm'>
174-
{table.getState().pagination.pageIndex + 1} of {table.getPageCount()}
174+
{table.getState().pagination.pageIndex + 1} of{' '}
175+
{Math.max(1, table.getPageCount())}
175176
</PaginationItem>
176177
<PaginationItem className='ml-1'>
177178
<Button

frontend/src/routes/match/match-form.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,9 @@ export const MatchForm = ({ topics, difficulties }: MatchFormProps) => {
8585
})}
8686
</MultiSelectorList>
8787
</MultiSelectorContent>
88+
<FormMessage />
8889
</MultiSelector>
8990
</FormControl>
90-
<FormMessage />
9191
</FormItem>
9292
)}
9393
/>

0 commit comments

Comments
 (0)