Skip to content

Conversation

@kien-ngo
Copy link
Contributor

@kien-ngo kien-ngo commented Nov 22, 2024

Problem solved

Short description of the bug fixed or feature added


PR-Codex overview

This PR focuses on fixing an issue where props were not being passed correctly to the TokenIcon component.

Detailed summary

  • Updated the return statement in the Token/icon.tsx file.
  • Changed from returning <img src={iconQuery.data} alt={restProps.alt} /> to <img src={iconQuery.data} {...restProps} alt={restProps.alt} /> to ensure all restProps are applied to the img element.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@vercel
Copy link

vercel bot commented Nov 22, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs-v2 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 22, 2024 4:02pm
thirdweb_playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 22, 2024 4:02pm
thirdweb-www ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 22, 2024 4:02pm
wallet-ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 22, 2024 4:02pm

@changeset-bot
Copy link

changeset-bot bot commented Nov 22, 2024

🦋 Changeset detected

Latest commit: d9a63a6

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
thirdweb Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@graphite-app
Copy link
Contributor

graphite-app bot commented Nov 22, 2024

Your org has enabled the Graphite merge queue for merging into main

Add the label “merge-queue” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix.

You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link.

Copy link
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@github-actions github-actions bot added packages SDK Involves changes to the thirdweb SDK labels Nov 22, 2024
@kien-ngo kien-ngo marked this pull request as ready for review November 22, 2024 15:09
@kien-ngo kien-ngo added the hotfix This pull request should be prioritized in the merge queue. label Nov 22, 2024 — with Graphite App
Copy link
Contributor Author

kien-ngo commented Nov 22, 2024

Merge activity

  • Nov 22, 10:09 AM EST: The merge label 'hotfix' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.
  • Nov 22, 10:51 AM EST: A user added this pull request to the Graphite merge queue.
  • Nov 22, 11:03 AM EST: A user merged this pull request with the Graphite merge queue.

@github-actions
Copy link
Contributor

github-actions bot commented Nov 22, 2024

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
thirdweb (esm) 44.97 KB (0%) 900 ms (0%) 3 s (+15.74% 🔺) 3.9 s
thirdweb (cjs) 105.01 KB (0%) 2.2 s (0%) 5.3 s (-0.12% 🔽) 7.4 s
thirdweb (minimal + tree-shaking) 5.6 KB (0%) 113 ms (0%) 211 ms (+99.68% 🔺) 323 ms
thirdweb/chains (tree-shaking) 506 B (0%) 10 ms (0%) 49 ms (-18.37% 🔽) 59 ms
thirdweb/react (minimal + tree-shaking) 18.38 KB (0%) 368 ms (0%) 805 ms (+51.29% 🔺) 1.2 s

@codecov
Copy link

codecov bot commented Nov 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 43.85%. Comparing base (24f4e5a) to head (d9a63a6).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5493   +/-   ##
=======================================
  Coverage   43.85%   43.85%           
=======================================
  Files        1075     1075           
  Lines       55944    55944           
  Branches     3907     3908    +1     
=======================================
  Hits        24534    24534           
  Misses      30727    30727           
  Partials      683      683           
Flag Coverage Δ *Carryforward flag
legacy_packages 65.68% <ø> (ø) Carriedforward from 24f4e5a
packages 38.58% <ø> (ø)

*This pull request uses carry forward flags. Click here to find out more.

---- 🚨 Try these New Features:

## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on fixing the issue where properties were not being passed correctly to the `TokenIcon` component.

### Detailed summary
- Updated the return statement in the `Token/icon.tsx` file.
- Changed `return <img src={iconQuery.data} alt={restProps.alt} />;` to `return <img src={iconQuery.data} {...restProps} alt={restProps.alt} />;` to ensure all `restProps` are included in the rendered `img` element.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hotfix This pull request should be prioritized in the merge queue. packages SDK Involves changes to the thirdweb SDK

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants