Skip to content
This repository was archived by the owner on Mar 27, 2026. It is now read-only.

Commit f4bcff0

Browse files
authored
Merge pull request #411 from modularcloud/revert-399-fredkiss3/fe-103-add-verified-checkmarks-on-dymension-homepage
Revert "Fredkiss3/fe 103 add verified checkmarks on dymension homepage"
2 parents 81fa2d5 + 0115d6f commit f4bcff0

1 file changed

Lines changed: 0 additions & 42 deletions

File tree

apps/web/ui/network-widgets/widgets/ibc-transfert-event-card.tsx

Lines changed: 0 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import {
66
ChevronDoubleDown,
77
Clock,
88
CornerUpRight,
9-
FancyCheck,
109
LinkOut,
1110
} from "~/ui/icons";
1211
import { ClientTime } from "~/ui/client-time";
@@ -20,7 +19,6 @@ import { jsonFetch } from "~/lib/shared-utils";
2019
import * as HoverCard from "@radix-ui/react-hover-card";
2120
import { Tooltip } from "~/ui/tooltip";
2221
import { useNetworkStatus } from "~/ui/search/use-network-status";
23-
import { useSearchOptionsContext } from "~/ui/search-options-context";
2422

2523
export type IBCTransferEventCardProps = {
2624
event: IBCTransferEvent;
@@ -104,20 +102,6 @@ export function IBCTransferEventCard({
104102
const targetChainHealthStatus =
105103
targetNetworkStatus?.[event.to.chainSlug]?.healthy ?? null;
106104

107-
const allNetworkChains = useSearchOptionsContext();
108-
109-
const values = allNetworkChains.flat();
110-
const foundNetworks = values.filter(
111-
(network) =>
112-
network.slug === event.from.chainSlug ||
113-
network.slug === event.to.chainSlug,
114-
);
115-
116-
const fromChain = foundNetworks.find(
117-
(net) => net.slug === event.from.chainSlug,
118-
);
119-
const toChain = foundNetworks.find((net) => net.slug === event.to.chainSlug);
120-
121105
return (
122106
<Card className="p-0 grid w-full shadow-none">
123107
<div className="p-5 rounded-t-lg flex items-start justify-between">
@@ -276,19 +260,6 @@ export function IBCTransferEventCard({
276260
{event.from.chainName}
277261
</p>
278262

279-
{fromChain?.verified && (
280-
<span
281-
style={{
282-
"--color-primary": fromChain.brandColor,
283-
}}
284-
>
285-
<FancyCheck
286-
className="text-primary h-5 w-5 flex-none"
287-
aria-hidden="true"
288-
/>
289-
</span>
290-
)}
291-
292263
<div
293264
className={cn(
294265
"opacity-100 relative flex items-center justify-center",
@@ -379,19 +350,6 @@ export function IBCTransferEventCard({
379350
{event.to.chainName}
380351
</p>
381352

382-
{toChain?.verified && (
383-
<span
384-
style={{
385-
"--color-primary": toChain.brandColor,
386-
}}
387-
>
388-
<FancyCheck
389-
className="text-primary h-5 w-5 flex-none"
390-
aria-hidden="true"
391-
/>
392-
</span>
393-
)}
394-
395353
<div
396354
className={cn(
397355
"opacity-100 relative flex items-center justify-center",

0 commit comments

Comments
 (0)