We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b161f85 commit 6552c45Copy full SHA for 6552c45
2 files changed
packages/xmatter/next/client.tsx
@@ -33,5 +33,7 @@ export function XmatterIcon({
33
baseUrl = "https://xmatter.org",
34
...props
35
}: XmatterIconProps): ReactNode {
36
- return <IconWithFallback src={`${baseUrl}/${namespace}/${chainId}/${address}/icon`} fallback={fallback} {...props} />;
+ return (
37
+ <IconWithFallback src={`${baseUrl}/${namespace}/${chainId}/${address}/icon.webp`} fallback={fallback} {...props} />
38
+ );
39
}
packages/xmatter/next/server.tsx
@@ -16,7 +16,7 @@ export async function XmatterIcon({
16
fallback,
17
18
}: XmatterIconProps): Promise<ReactNode> {
19
- const url = await client.getIconUrl(chainId, address);
+ const url = await client.getIconWebpUrl(chainId, address);
20
if (!url) {
21
return fallback;
22
0 commit comments