Skip to content

Commit 10d3809

Browse files
committed
fix: typings
1 parent 892de23 commit 10d3809

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/components/CalloutBanner.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ import Text from "@/components/OldText"
1010
export type CalloutBannerProps = FlexProps & {
1111
children?: React.ReactNode
1212
image: ImageProps["src"]
13-
imageWidth?: ImageProps["width"]
14-
maxImageWidth?: string
13+
imageWidth?: number
14+
maxImageWidth?: ImageProps["width"]
1515
titleKey: TranslationKey
1616
descriptionKey: TranslationKey
1717
alt: string

src/pages/get-eth.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ const GetEthPage = ({
473473
descriptionKey="page-get-eth:page-get-eth-use-your-eth-dapps"
474474
image={dapps}
475475
alt={t("page-index:page-index-sections-individuals-image-alt")}
476-
maxImageWidth="600px"
476+
maxImageWidth={600}
477477
>
478478
<Box>
479479
<ButtonLink href="/dapps/">

src/pages/stablecoins.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -626,7 +626,7 @@ const StablecoinsPage = ({ markets, marketsHasError }) => {
626626
"page-stablecoins-stablecoins-dapp-callout-description"
627627
)}
628628
image={dogeComputerImg}
629-
maxImageWidth="600px"
629+
maxImageWidth={600}
630630
alt={t("page-stablecoins-stablecoins-dapp-callout-image-alt")}
631631
>
632632
<Flex flexFlow="wrap" gap="1em">

0 commit comments

Comments
 (0)