-
Notifications
You must be signed in to change notification settings - Fork 619
Fix error thrown from PublishedBy card on localhost chain #5198
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
Fix error thrown from PublishedBy card on localhost chain #5198
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. |
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @MananTank and the rest of your teammates on |
size-limit report 📦
|
Merge activity
|
## Problem solved
Short description of the bug fixed or feature added
<!-- start pr-codex -->
---
## PR-Codex overview
This PR focuses on refactoring the `ContractOverviewPageClient` component by removing the `PublishedByClient` function and its associated logic, while setting the `publishedBy` prop to `undefined`. This prepares for a future implementation of a fully client-rendered version.
### Detailed summary
- Removed the import statements for `useThirdwebClient`, `useQuery`, and `useActiveAccount`.
- Deleted the `PublishedByClient` function and its logic.
- Updated the `publishedBy` prop in `ContractOverviewPageClient` to `undefined`.
- Added a TODO comment for future implementation of a fully client-rendered version of `publishedBy` and `ContractCard`.
> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`
<!-- end pr-codex -->
e01971d to
286aa30
Compare
f0e0ddd to
a5ffc54
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5198 +/- ##
=======================================
Coverage 45.30% 45.30%
=======================================
Files 1067 1067
Lines 55304 55304
Branches 3970 3970
=======================================
Hits 25054 25054
Misses 29557 29557
Partials 693 693
*This pull request uses carry forward flags. Click here to find out more. |

Problem solved
Short description of the bug fixed or feature added
PR-Codex overview
This PR focuses on refactoring the
ContractOverviewPageClientcomponent by removing thePublishedByClientfunction and its related imports, while also updating thepublishedByprop to beundefined. This is part of a larger effort to create a fully client-rendered version of certain components.Detailed summary
useThirdwebClient,useQuery, anduseActiveAccount.PublishedByClientfunction, which fetched and displayed published by card props.publishedByprop inContractOverviewPageClientto beundefinedinstead of usingPublishedByClient.