Skip to content

Conversation

@petar-omni
Copy link
Collaborator

No description provided.

@changeset-bot
Copy link

changeset-bot bot commented Jan 19, 2026

🦋 Changeset detected

Latest commit: 465eb52

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

This PR includes changesets to release 1 package
Name Type
@stakekit/widget 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

@vercel
Copy link

vercel bot commented Jan 19, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
dashboard-finery Ready Ready Preview, Comment Jan 19, 2026 0:04am
dashboard-utila Ready Ready Preview, Comment Jan 19, 2026 0:04am
staging-widget Ready Ready Preview, Comment Jan 19, 2026 0:04am
stakekit-widget Ready Ready Preview, Comment Jan 19, 2026 0:04am

Request Review

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 useIsDashboard hook

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
Copy link

Copilot AI Jan 19, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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".

Suggested change
fix: remove divider
fix: hide tron resource divider in dashboard

Copilot uses AI. Check for mistakes.
@petar-omni petar-omni merged commit d0cbb29 into main Jan 19, 2026
17 checks passed
@petar-omni petar-omni deleted the fix/layout branch January 19, 2026 12:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants