Skip to content

Connect, collaborate, and grow with a community of TypeScript developers

if enrolled but show problem explorer (#1416)

Fahad6f7ff4d42f51
diff --git a/apps/web/src/app/[locale]/challenge/[slug]/left-wrapper.tsx b/apps/web/src/app/[locale]/challenge/[slug]/left-wrapper.tsx
index bdedbe88..0d0282d9 100644
--- a/apps/web/src/app/[locale]/challenge/[slug]/left-wrapper.tsx
+++ b/apps/web/src/app/[locale]/challenge/[slug]/left-wrapper.tsx
@@ -119,8 +119,13 @@ export function LeftWrapper({ children, challenge, track, expandPanel, isDesktop
className={cn('border-b border-zinc-300 p-1 dark:border-zinc-700')}
/>
)}
-
- {Boolean(isTrackVisible && !hasEnrolledTrackForChallenge && !isExplorerDisabled) && (
+ {Boolean(isTrackVisible && !hasEnrolledTrackForChallenge) && (
+ <ProblemExplorerTrackNav
+ isCollapsed={isCollapsed}
+ className={cn('border-b border-zinc-300 p-1 dark:border-zinc-700')}
+ />
+ )}
+ {Boolean(isTrackVisible && !isExplorerDisabled) && (
<ProblemExplorerTrackNav
isCollapsed={isCollapsed}
className={cn('border-b border-zinc-300 p-1 dark:border-zinc-700')}