66 ChevronDoubleDown ,
77 Clock ,
88 CornerUpRight ,
9- FancyCheck ,
109 LinkOut ,
1110} from "~/ui/icons" ;
1211import { ClientTime } from "~/ui/client-time" ;
@@ -20,7 +19,6 @@ import { jsonFetch } from "~/lib/shared-utils";
2019import * as HoverCard from "@radix-ui/react-hover-card" ;
2120import { Tooltip } from "~/ui/tooltip" ;
2221import { useNetworkStatus } from "~/ui/search/use-network-status" ;
23- import { useSearchOptionsContext } from "~/ui/search-options-context" ;
2422
2523export 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