Skip to content

Commit 95315d9

Browse files
fix: resolve ecosystem image URL using thirdweb storage
1 parent 50f98d7 commit 95315d9

File tree

1 file changed

+3
-1
lines changed
  • apps/wallet-ui/src/app/[ecosystem]/(authed)

1 file changed

+3
-1
lines changed

apps/wallet-ui/src/app/[ecosystem]/(authed)/layout.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import ConnectButton from "@/components/ConnectButton";
22
import { authedOnly } from "@/lib/auth";
33
import { getEcosystemInfo } from "@/lib/ecosystems";
4+
import { resolveScheme } from "thirdweb/storage";
5+
import { client } from "../../../lib/client";
46

57
export default async function Layout({
68
children,
@@ -18,7 +20,7 @@ export default async function Layout({
1820
<div className="flex items-center gap-2">
1921
<img
2022
className="h-8 w-8"
21-
src={ecosystem.imageUrl}
23+
src={resolveScheme({ uri: ecosystem.imageUrl, client })}
2224
alt={ecosystem.name}
2325
width={100}
2426
height={100}

0 commit comments

Comments
 (0)