Skip to content

Commit 9dea2a1

Browse files
committed
refactor: use BasePageProps for stablecoins
1 parent 8724ecb commit 9dea2a1

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/pages/stablecoins.tsx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { GetStaticProps } from "next/types"
2-
import { SSRConfig, useTranslation } from "next-i18next"
2+
import { useTranslation } from "next-i18next"
33
import { serverSideTranslations } from "next-i18next/serverSideTranslations"
44
import {
55
Box,
@@ -12,6 +12,8 @@ import {
1212
SimpleGrid,
1313
} from "@chakra-ui/react"
1414

15+
import { BasePageProps } from "@/lib/types"
16+
1517
import ButtonLink from "@/components/Buttons/ButtonLink"
1618
import CalloutBanner from "@/components/CalloutBanner"
1719
import DataProductCard from "@/components/DataProductCard"
@@ -77,9 +79,9 @@ interface Market {
7779
url: string
7880
}
7981

80-
type Props = SSRConfig & {
81-
contentNotTranslated: boolean
82-
lastDeployDate: string
82+
type Props = BasePageProps & {
83+
markets: Market[]
84+
marketsHasError: boolean
8385
}
8486

8587
// Fetch external API data once to avoid hitting rate limit

0 commit comments

Comments
 (0)