Skip to content

Commit 84e1068

Browse files
committed
Always show environment switcher in user menu
Removes the production-config guard so environment switching options are always visible. Improves usability in non-production setups and avoids hiding controls when production isn't configured.
1 parent 8ea1644 commit 84e1068

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/components/TopBar/index.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,6 @@ export const TopBar: React.FC<TopBarProps> = ({
162162
<hr className="top-bar-user-menu-divider" />
163163

164164
{/* Environment Switcher - Only show if production is configured */}
165-
{prodConfigured && (
166165
<>
167166
<button
168167
className="top-bar-user-menu-item top-bar-user-menu-link"
@@ -180,7 +179,6 @@ export const TopBar: React.FC<TopBarProps> = ({
180179
</button>
181180
<hr className="top-bar-user-menu-divider" />
182181
</>
183-
)}
184182

185183
<button
186184
className="top-bar-user-menu-item top-bar-user-menu-link"

0 commit comments

Comments
 (0)