File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
app/(app)/statistics/_components Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ export default function CompletedQuestionsPercentage() {
3232
3333 return (
3434 < >
35- { solvedQuestions } /{ totalQuestions } ({ completedPercentage . toFixed ( 2 ) } %)
35+ { solvedQuestions } /{ totalQuestions } ({ completedPercentage . toFixed ( 0 ) } %)
3636 </ >
3737 ) ;
3838}
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ export default function ResolvedQuestions() {
2020 const { data } = useSuspenseQuery ( RESOLVED_QUESTIONS ) ;
2121 const totalQuestions = data . me . submissionStatistics . totalQuestions ;
2222 const solvedQuestions = data . me . submissionStatistics . solvedQuestions ;
23- const resolvedQuestions = solvedQuestions / totalQuestions ;
23+ const resolvedQuestions = solvedQuestions / totalQuestions * 100 ;
2424
2525 return (
2626 < div className = "flex flex-col gap-1" >
You can’t perform that action at this time.
0 commit comments