We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50f98d7 commit 95315d9Copy full SHA for 95315d9
apps/wallet-ui/src/app/[ecosystem]/(authed)/layout.tsx
@@ -1,6 +1,8 @@
1
import ConnectButton from "@/components/ConnectButton";
2
import { authedOnly } from "@/lib/auth";
3
import { getEcosystemInfo } from "@/lib/ecosystems";
4
+import { resolveScheme } from "thirdweb/storage";
5
+import { client } from "../../../lib/client";
6
7
export default async function Layout({
8
children,
@@ -18,7 +20,7 @@ export default async function Layout({
18
20
<div className="flex items-center gap-2">
19
21
<img
22
className="h-8 w-8"
- src={ecosystem.imageUrl}
23
+ src={resolveScheme({ uri: ecosystem.imageUrl, client })}
24
alt={ecosystem.name}
25
width={100}
26
height={100}
0 commit comments