Skip to content

Commit de6dbb3

Browse files
committed
feat: del import { Text } from "@chakra-ui/react"
1 parent 626ae4b commit de6dbb3

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/components/DocsNav.tsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { useRouter } from "next/router"
22
import { useTranslation } from "next-i18next"
33
import { FaChevronLeft, FaChevronRight } from "react-icons/fa"
4-
import { Text } from "@chakra-ui/react"
54

65
import { TranslationKey } from "@/lib/types"
76
import type { DeveloperDocsLink } from "@/lib/interfaces"
@@ -70,10 +69,10 @@ const CardLink = ({ docData, isPrev, contentNotTranslated }: CardLinkProps) => {
7069
)}
7170
</div>
7271
<TextDiv className={cn(isPrev ? "ps-0" : "pe-0 text-end")}>
73-
<Text className="btn-txt !m-0 text-lg text-primary group-hover:text-primary-hover">
72+
<p className="btn-txt !m-0 text-lg text-primary group-hover:text-primary-hover">
7473
{t(isPrev ? "previous" : "next")}
75-
</Text>
76-
<Text className="!mb-0 text-sm no-underline">{t(docData.id)}</Text>
74+
</p>
75+
<p className="!mb-0 text-sm no-underline">{t(docData.id)}</p>
7776
</TextDiv>
7877
</BaseLink>
7978
)

0 commit comments

Comments
 (0)