Browse Source

chore(dashboard): Fix refactoring error

Michael Bromley 5 months ago
parent
commit
7998c95712
1 changed files with 1 additions and 3 deletions
  1. 1 3
      packages/dashboard/src/lib/components/layout/channel-switcher.tsx

+ 1 - 3
packages/dashboard/src/lib/components/layout/channel-switcher.tsx

@@ -54,9 +54,7 @@ export function ChannelSwitcher() {
         setContentLanguage,
     } = useUserSettings();
     const [showManageLanguagesDialog, setShowManageLanguagesDialog] = useState(false);
-
-    // Use the selected channel if available, otherwise fall back to the active channel
-    const displayChannel = activeChannel || activeChannel;
+    const displayChannel = activeChannel;
 
     // Get available languages from server config
     const availableLanguages = serverConfig?.availableLanguages || [];