-
Notifications
You must be signed in to change notification settings - Fork 524
[TOOL-4248] Dashboard: Fix explore category page not showing contract cards #6829
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
[TOOL-4248] Dashboard: Fix explore category page not showing contract cards #6829
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
b722df1
to
4baefa5
Compare
7d9ead3
to
fdce789
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6829 +/- ##
=======================================
Coverage 55.18% 55.18%
=======================================
Files 896 896
Lines 56953 56953
Branches 3946 3946
=======================================
Hits 31429 31429
Misses 25428 25428
Partials 96 96
🚀 New features to boost your workflow:
|
Merge activity
|
… cards (#6829) <!-- ## title your PR with this format: "[SDK/Dashboard/Portal] Feature/Fix: Concise title for the changes" If you did not copy the branch name from Linear, paste the issue tag here (format is TEAM-0000): ## Notes for the reviewer Anything important to call out? Be sure to also clarify these in your comments. ## How to test Unit tests, playground, etc. --> <!-- start pr-codex --> --- ## PR-Codex overview This PR focuses on updating the `ExploreCategoryPage` component in the `page.tsx` file to utilize a new client obtained from `getThirdwebClient` instead of passing it as a prop. This change simplifies the component's props and enhances its internal logic. ### Detailed summary - Removed the `client` prop from `ExploreCategoryPageProps`. - Introduced `const client = getThirdwebClient(undefined);` to obtain the client internally. - Updated the `client` prop of the `ContractCard` component to use the newly defined `client` variable instead of `props.client`. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
fdce789
to
fe46e81
Compare
size-limit report 📦
|
PR-Codex overview
This PR focuses on updating the
ExploreCategoryPage
component by removing the dependency on theThirdwebClient
type and instead utilizing agetThirdwebClient
function to obtain a client instance directly.Detailed summary
client: ThirdwebClient;
fromExploreCategoryPageProps
.const client = getThirdwebClient(undefined);
to retrieve the client.client
prop in theContractCard
component to use the newclient
variable.