Conversation
🦋 Changeset detectedLatest commit: 465eb52 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Pull request overview
This PR conditionally hides the divider below the Tron resource selection dropdown when the widget is used in a dashboard context. The change improves the UI consistency by removing an unnecessary visual separator in the dashboard view while maintaining it in the regular widget view.
Changes:
- Add conditional rendering to hide the Tron resource divider in dashboard mode using the
useIsDashboardhook
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| packages/widget/src/pages/details/earn-page/components/extra-args-selection/index.tsx | Imports useIsDashboard hook and conditionally renders the divider only when not in dashboard mode |
| .changeset/yellow-dingos-fetch.md | Adds changeset documenting the fix |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| "@stakekit/widget": patch | ||
| --- | ||
|
|
||
| fix: remove divider |
There was a problem hiding this comment.
The changeset description "fix: remove divider" is too generic. It should be more specific to match the PR title and clarify that this is about the Tron resource divider being conditionally hidden in the dashboard context. Consider updating to something like "fix: hide tron resource divider in dashboard".
| fix: remove divider | |
| fix: hide tron resource divider in dashboard |
No description provided.