Skip to content

Commit a50e908

Browse files
committed
fix: HomeHeroProps
1 parent 2fd0557 commit a50e908

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/Hero/HomeHero/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { ButtonLink } from "@/components/Buttons"
77
import { Image } from "@/components/Image"
88
import Morpher from "@/components/Morpher"
99

10-
export interface HomeHeroProps extends Pick<CommonHeroProps, "heroImg"> {}
10+
export type HomeHeroProps = Pick<CommonHeroProps, "heroImg">
1111

1212
const HomeHero = ({ heroImg }: HomeHeroProps) => {
1313
const { t } = useTranslation("page-index")
@@ -37,7 +37,7 @@ const HomeHero = ({ heroImg }: HomeHeroProps) => {
3737
{t("page-index:page-index-title")}
3838
</Heading>
3939
<Text size="xl">{t("page-index:page-index-description")}</Text>
40-
<ButtonLink to="/learn/">
40+
<ButtonLink href="/learn/">
4141
{t("page-index:page-index-title-button")}
4242
</ButtonLink>
4343
</VStack>

0 commit comments

Comments
 (0)