fix: Remove double user buttons#6386
Merged
dave-hawkins merged 1 commit intoJun 9, 2026
Merged
Conversation
Contributor
Contributor
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes — a single-file deletion in the dashboard global navbar that removes the duplicate user button shown in production.
- Remove
NavbarUsersubcomponent — deletes theGlobalNavbar.User(NavbarUser) forwardRef and its render slot innavbar.tsx, so only the canonicalUserButtonintop-navrenders. - Drop now-unused
UserButtonimport andUserinterface member — theimport { UserButton }, theUserproperty onGlobalNavbarComponent, and theNavbar.Userassignment are all removed consistently.
Verified the removal is clean: no callers of Navbar.User / NavbarUser remain anywhere in web/, the canonical UserButton is still rendered in top-nav/index.tsx:48 (and onboarding-content.tsx:30), and the surviving imports (cn, Link, Button) are all still in use, so there's no dangling reference or unused-import fallout.
Claude Opus | 𝕏
dave-hawkins
approved these changes
Jun 9, 2026
chronark
approved these changes
Jun 9, 2026
chronark
left a comment
Collaborator
There was a problem hiding this comment.
I see a single user button 👍
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

What does this PR do?
Fixes showing two user buttons.
Fixes # (issue)
If there is not an issue for this, create one first. This is used for tracking purposes and helps us understand why this PR exists.
Type of change
How should this be tested?
Checklist
Required
pnpm buildpnpm fmtmise run fmtconsole.logsgit pull origin mainAppreciated