Skip to content

Commit dfe1f8d

Browse files
committed
[SDK] Fix props for TokenIcon component
1 parent b5baeae commit dfe1f8d

File tree

1 file changed

+1
-1
lines changed
  • packages/thirdweb/src/react/web/ui/prebuilt/Token

1 file changed

+1
-1
lines changed

packages/thirdweb/src/react/web/ui/prebuilt/Token/icon.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,5 +160,5 @@ export function TokenIcon({
160160
return fallbackComponent || null;
161161
}
162162

163-
return <img src={iconQuery.data} alt={restProps.alt} />;
163+
return <img src={iconQuery.data} {...restProps} alt={restProps.alt} />;
164164
}

0 commit comments

Comments
 (0)