Skip to content

Commit 7ab3b54

Browse files
fix: pr review changes
1 parent f3df7c8 commit 7ab3b54

File tree

5 files changed

+9
-8
lines changed

5 files changed

+9
-8
lines changed

src/components/HorizontalCard.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ const HorizontalCard = ({
2626
<div className={cn("my-2 flex items-start gap-8", className)} {...props}>
2727
<Emoji text={emoji} className={cn("text-5xl", emojiClassName)} />
2828
<div className="flex-shrink flex-grow-0 basis-3/4 space-y-2">
29-
<div className="text-lg">{title}</div>
30-
<div className="text-base">{description}</div>
29+
<p className="text-lg">{title}</p>
30+
<p className="text-base">{description}</p>
3131
{children}
3232
</div>
3333
</div>

src/pages/eth.tsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ import { StandaloneQuizWidget } from "@/components/Quiz/QuizWidget"
3434
import Translation from "@/components/Translation"
3535
import { Divider } from "@/components/ui/divider"
3636

37+
import { cn } from "@/lib/utils/cn"
3738
import { existsNamespace } from "@/lib/utils/existsNamespace"
3839
import { getLastDeployDate } from "@/lib/utils/getLastDeployDate"
3940
import { getLocaleTimestamp } from "@/lib/utils/time"
@@ -212,9 +213,11 @@ const CardContainer = (props: FlexProps) => (
212213
)
213214

214215
const TokenCard = (props: ComponentProps<typeof HorizontalCard>) => (
215-
<HorizontalCard {...props} className="mx-0 my-2 min-w-full rounded-none" />
216+
<HorizontalCard
217+
className={cn("mx-0 my-2 min-w-full rounded-none", props.className)}
218+
{...props}
219+
/>
216220
)
217-
218221
const TextDivider = () => (
219222
<Box
220223
w="10%"

src/pages/gas.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,8 +298,7 @@ const GasPage = () => {
298298
key={benefit.emoji}
299299
emoji={benefit.emoji}
300300
description={benefit.description}
301-
emojiClassName="text-5xl"
302-
className="flex items-center py-2"
301+
className="flex items-center"
303302
/>
304303
</Box>
305304
))}

src/pages/stablecoins.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,6 @@ const StablecoinsPage = ({ markets, marketsHasError }) => {
462462
<HorizontalCard
463463
emoji={token.emoji}
464464
description={token.description}
465-
emojiClassName="text-5xl"
466465
/>
467466
</Box>
468467
))}

src/pages/wallets/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ const WalletsPage = () => {
363363
emoji={type.emoji}
364364
description={type.description}
365365
className="my-0.5 w-[100%] items-center"
366-
emojiClassName={"text-[2.5rem]"}
366+
emojiClassName="text-[2.5rem]"
367367
/>
368368
))}
369369
</Box>

0 commit comments

Comments
 (0)