diff --git a/src/components/CCIP/Cards/TokenCard.css b/src/components/CCIP/Cards/TokenCard.css
index f8ac4ae950b..533203d5437 100644
--- a/src/components/CCIP/Cards/TokenCard.css
+++ b/src/components/CCIP/Cards/TokenCard.css
@@ -18,7 +18,8 @@
background-color: var(--gray-50);
}
-.token-card__container img {
+.token-card__container object,
+.token-card__container object img {
width: var(--space-10x);
height: var(--space-10x);
border-radius: 50%;
diff --git a/src/components/CCIP/Cards/TokenCard.tsx b/src/components/CCIP/Cards/TokenCard.tsx
index 10c249879cb..f934c7d1b33 100644
--- a/src/components/CCIP/Cards/TokenCard.tsx
+++ b/src/components/CCIP/Cards/TokenCard.tsx
@@ -13,14 +13,11 @@ function TokenCard({ name, logo, link, onClick }: TokenCardProps) {
return (
-

{
- currentTarget.onerror = null // prevents looping
- currentTarget.src = fallbackTokenIconUrl
- }}
- />
+ {/* We cannot use the normal Image/onError syntax as a fallback as the element is server rendered
+ and the onerror does not seem to work correctly. Using Picutre will also not work. */}
+
{name}
@@ -30,14 +27,9 @@ function TokenCard({ name, logo, link, onClick }: TokenCardProps) {
if (onClick) {
return (
-

{
- currentTarget.onerror = null // prevents looping
- currentTarget.src = fallbackTokenIconUrl
- }}
- />
+
{name}
)
@@ -45,14 +37,9 @@ function TokenCard({ name, logo, link, onClick }: TokenCardProps) {
return (
-

{
- currentTarget.onerror = null // prevents looping
- currentTarget.src = fallbackTokenIconUrl
- }}
- />
+
{name}
)
diff --git a/src/components/CCIP/Chain/Chain.astro b/src/components/CCIP/Chain/Chain.astro
index 4819d3c2fbd..681037ee6b7 100644
--- a/src/components/CCIP/Chain/Chain.astro
+++ b/src/components/CCIP/Chain/Chain.astro
@@ -48,14 +48,7 @@ const searchLanes = getSearchLanes({ environment })
-
+
{
return (
-

{
- ;(event.target as HTMLImageElement).setAttribute("src", fallbackTokenIconUrl)
- }}
- />
+ >
+

+
{token}
@@ -277,14 +278,15 @@ function ChainHero({ chains, tokens, network, token, environment, lanes }: Chain
})}
{!nativeTokenHasAddress() && nativeCurrency && (
-
}`})
{
- ;(event.target as HTMLImageElement).setAttribute("src", fallbackTokenIconUrl)
- }}
+
+ >
+

+
{nativeCurrency.symbol}
(native gas token)
diff --git a/src/config/data/ccip/data.ts b/src/config/data/ccip/data.ts
index 0ff9e2bc6dc..7750c997263 100644
--- a/src/config/data/ccip/data.ts
+++ b/src/config/data/ccip/data.ts
@@ -513,7 +513,7 @@ export const getAllNetworkLanes = async ({
address: string
version: string
}
- operational: string | undefined
+ status: string | undefined
}[] = Object.keys(allLanes).map((lane) => {
const laneData = allLanes[lane]