Skip to content

Commit 06bbd41

Browse files
fix(pages/community): type heroContent object with HubHeroProps
1 parent 24353d5 commit 06bbd41

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/pages/community.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import {
1010
useTheme,
1111
} from "@chakra-ui/react"
1212

13-
import { BasePageProps, ChildOnlyProp, CommonHeroProps } from "@/lib/types"
13+
import { BasePageProps, ChildOnlyProp } from "@/lib/types"
1414
import { ICard, IGetInvolvedCard } from "@/lib/interfaces"
1515

1616
import ActionCard from "@/components/ActionCard"
@@ -19,6 +19,7 @@ import Callout from "@/components/Callout"
1919
import Card from "@/components/Card"
2020
import FeedbackCard from "@/components/FeedbackCard"
2121
import { HubHero } from "@/components/Hero"
22+
import type { HubHeroProps } from "@/components/Hero/HubHero"
2223
import { Image } from "@/components/Image"
2324
import MainArticle from "@/components/MainArticle"
2425
import OldHeading from "@/components/OldHeading"
@@ -214,7 +215,7 @@ const CommunityPage = () => {
214215
},
215216
]
216217

217-
const heroContent: CommonHeroProps = {
218+
const heroContent: HubHeroProps = {
218219
title: t("page-community-hero-title"),
219220
header: t("page-community-hero-header"),
220221
description: t("page-community-hero-subtitle"),

0 commit comments

Comments
 (0)