Skip to content

Commit b66361a

Browse files
committed
Changed ButtonLink to Link
1 parent 3c5155c commit b66361a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/components/Breadcrumbs.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import Link from "./Link"
55
import { isLang, supportedLanguages } from "../utils/languages"
66
import { isTranslationKey, translateMessageId } from "../utils/translations"
77
import { Box, UnorderedList, ListItem } from "@chakra-ui/react"
8-
import ButtonLink from "./ButtonLink"
98

109
export interface IProps {
1110
slug: string
@@ -75,7 +74,7 @@ const Breadcrumbs: React.FC<IProps> = ({
7574
lineHeight="140%"
7675
letterSpacing="wider"
7776
>
78-
<ButtonLink
77+
<Link
7978
as={Link}
8079
to={crumb.fullPath}
8180
isPartiallyActive={slug === crumb.fullPath}
@@ -85,7 +84,7 @@ const Breadcrumbs: React.FC<IProps> = ({
8584
_active={{ color: "primary" }}
8685
>
8786
{crumb.text}
88-
</ButtonLink>
87+
</Link>
8988
{idx < crumbs.length - 1 && (
9089
<Box as="span" marginLeft={2} color="textTableOfContents">
9190
/

0 commit comments

Comments
 (0)