-
Notifications
You must be signed in to change notification settings - Fork 620
[SDK] Add missing use-client directives to some components #5676
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
Your org has enabled the Graphite merge queue for merging into mainAdd 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. |
size-limit report 📦
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5676 +/- ##
==========================================
- Coverage 51.27% 51.27% -0.01%
==========================================
Files 1092 1092
Lines 57346 57346
Branches 4686 4685 -1
==========================================
- Hits 29406 29404 -2
- Misses 27224 27226 +2
Partials 716 716
*This pull request uses carry forward flags. Click here to find out more.
|
Merge activity
|
## Problem solved
Short description of the bug fixed or feature added
<!-- start pr-codex -->
---
## PR-Codex overview
This PR focuses on updating various components in the `thirdweb` package, specifically related to `Account`, `NFT`, `Chain`, and `Token` functionalities. It introduces new imports and ensures that the components are utilizing the necessary contexts and types.
### Detailed summary
- In `Account/provider.tsx`: Added import for `Address`.
- In `NFT/provider.tsx`: Added import for `ThirdwebContract`.
- In `Account/blobbie.tsx`: Imported `Blobbie` and `useAccountContext`.
- In `Chain/icon.tsx`, `Token/icon.tsx`, `NFT/name.tsx`, and `NFT/media.tsx`: Imported `UseQueryOptions`, `useQuery`, and `getChainMetadata`.
> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`
<!-- end pr-codex -->
260714b to
a9dd26c
Compare

Problem solved
Short description of the bug fixed or feature added
PR-Codex overview
This PR focuses on organizing and refining the context and components related to
Account,NFT, andTokenfunctionalities in thethirdwebpackage.Detailed summary
useAccountContextimport inAccount/blobbie.tsx.ThirdwebContracttype inNFT/provider.tsx,NFT/name.tsx, andNFT/media.tsx.useQueryandgetChainMetadataimports acrossChain/icon.tsx,Token/icon.tsx, andNFT/name.tsx.