File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change 1
1
import { useRouter } from "next/router"
2
2
import { useTranslation } from "next-i18next"
3
3
import { FaXTwitter } from "react-icons/fa6"
4
- import { Highlight } from "@chakra-ui/react"
5
4
6
5
import { CompletedQuizzes , QuizShareStats } from "@/lib/types"
7
6
@@ -96,12 +95,10 @@ const QuizzesStats = ({
96
95
< TrophyIcon className = "size-[35.62px] fill-background" />
97
96
</ Center >
98
97
< span className = "text-5xl font-bold" >
99
- < Highlight
100
- query = { `/${ totalQuizzesPoints } ` }
101
- styles = { { color : "body.medium" } }
102
- >
103
- { totalCorrectAnswers + "/" + totalQuizzesPoints }
104
- </ Highlight >
98
+ { totalCorrectAnswers }
99
+ < span className = "text-body-medium" >
100
+ /{ totalQuizzesPoints }
101
+ </ span >
105
102
</ span >
106
103
</ HStack >
107
104
You can’t perform that action at this time.
0 commit comments