Skip to content

Commit b9d0aed

Browse files
committed
fix: stablecoins icons
1 parent 4ff6078 commit b9d0aed

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

app/[locale]/stablecoins/page.tsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { pick } from "lodash"
2-
import { HelpCircle } from "lucide-react"
2+
import { Info } from "lucide-react"
33
import {
44
getMessages,
55
getTranslations,
@@ -94,6 +94,7 @@ const loadData = dataLoader<[CoinGeckoCoinMarketResponse]>(
9494
async function Page({ params }: { params: Promise<{ locale: Lang }> }) {
9595
const { locale } = await params
9696
const t = await getTranslations({ locale, namespace: "page-stablecoins" })
97+
const tCommon = await getTranslations({ locale, namespace: "common" })
9798

9899
setRequestLocale(locale)
99100

@@ -248,7 +249,7 @@ async function Page({ params }: { params: Promise<{ locale: Lang }> }) {
248249

249250
const tooltipContent = (
250251
<div>
251-
{t("common:data-provided-by")}{" "}
252+
{tCommon("data-provided-by")}{" "}
252253
<InlineLink href="https://www.coingecko.com/en/api">
253254
coingecko.com
254255
</InlineLink>
@@ -557,7 +558,7 @@ async function Page({ params }: { params: Promise<{ locale: Lang }> }) {
557558
<h3 id="stablecoin-markets" className="mb-8 mt-12">
558559
{t("page-stablecoins-top-coins")}
559560
<Tooltip content={tooltipContent}>
560-
<HelpCircle className="ms-2 fill-body text-md" />
561+
<Info className="ms-2 size-4" />
561562
</Tooltip>
562563
</h3>
563564

src/components/StablecoinsTable.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"use client"
22

33
import { Suspense, useState } from "react"
4-
import { ExternalLink, Filter } from "lucide-react"
4+
import { ExternalLink, ListFilter } from "lucide-react"
55

66
import type { StablecoinType } from "@/lib/types"
77

@@ -188,7 +188,7 @@ const StablecoinsTable = ({ content, hasError }: StablecoinsTableProps) => {
188188
({activeTypeCount})
189189
</span>
190190
)}
191-
<Filter className="size-[1em]" />
191+
<ListFilter className="size-[1em]" />
192192
</DropdownMenuTrigger>
193193
<DropdownMenuContent align="start">
194194
{typeFilters.map((filter) => (
@@ -240,7 +240,7 @@ const StablecoinsTable = ({ content, hasError }: StablecoinsTableProps) => {
240240
{activePegCount !== totalPegCount && (
241241
<span className="text-xs text-body-medium">({activePegCount})</span>
242242
)}
243-
<Filter className="size-[1em]" />
243+
<ListFilter className="size-[1em]" />
244244
</DropdownMenuTrigger>
245245
<DropdownMenuContent align="start">
246246
{pegFilters.map((filter) => (

0 commit comments

Comments
 (0)