[PR #3110] [MERGED] fix UserMenu rendered twice on Main page #4217

Closed
opened 2026-02-22 18:35:23 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/3110
Author: @sdeleeuw
Created: 2/4/2025
Status: Merged
Merged: 2/11/2025
Merged by: @timothycarambat

Base: masterHead: fix-user-menu-rendered-twice


📝 Commits (1)

  • 552ec4d fix: fix UserMenu rendered twice on Main page

📊 Changes

1 file changed (+4 additions, -8 deletions)

View changed files

📝 frontend/src/pages/Main/index.jsx (+4 -8)

📄 Description

Pull Request Type

  • feat
  • 🐛 fix
  • ♻️ refactor
  • 💄 style
  • 🔨 chore
  • 📝 docs

Relevant Issues

What is in this change?

The <UserMenu> component is rendered twice on the <Main> page:

  1. Once in the <Main> page
  2. Once in the <PrivateRoute> component

This PR removes the usage from the <Main> page.
I have build the Docker container and tested it locally, there is still a <UserMenu> in the top right corner of the <Main> page.

Additional Information

Developer Validations

  • I ran yarn lint from the root of the repo & committed changes
  • Relevant documentation has been updated
  • I have tested my code functionality
  • Docker build succeeds locally

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Mintplex-Labs/anything-llm/pull/3110 **Author:** [@sdeleeuw](https://github.com/sdeleeuw) **Created:** 2/4/2025 **Status:** ✅ Merged **Merged:** 2/11/2025 **Merged by:** [@timothycarambat](https://github.com/timothycarambat) **Base:** `master` ← **Head:** `fix-user-menu-rendered-twice` --- ### 📝 Commits (1) - [`552ec4d`](https://github.com/Mintplex-Labs/anything-llm/commit/552ec4d740b377bb205e11f7a2e733ab5bbf4074) fix: fix UserMenu rendered twice on Main page ### 📊 Changes **1 file changed** (+4 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `frontend/src/pages/Main/index.jsx` (+4 -8) </details> ### 📄 Description ### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [ ] ✨ feat - [X] 🐛 fix - [ ] ♻️ refactor - [ ] 💄 style - [ ] 🔨 chore - [ ] 📝 docs ### Relevant Issues ### What is in this change? The `<UserMenu>` component is rendered twice on the `<Main>` page: 1. Once in the `<Main>` page 2. Once in the `<PrivateRoute>` component This PR removes the usage from the `<Main>` page. I have build the Docker container and tested it locally, there is still a `<UserMenu>` in the top right corner of the `<Main>` page. ### Additional Information ### Developer Validations - [X] I ran `yarn lint` from the root of the repo & committed changes - [X] Relevant documentation has been updated - [X] I have tested my code functionality - [X] Docker build succeeds locally --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-22 18:35:23 -05:00
yindo closed this issue 2026-02-22 18:35:23 -05:00
yindo changed title from [PR #3110] fix UserMenu rendered twice on Main page to [PR #3110] [MERGED] fix UserMenu rendered twice on Main page 2026-06-05 15:17:26 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#4217