From d1a18a0039ecb8141bd35ffa1fed3ac6f5c5323f Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Thu, 8 Jan 2026 01:59:25 +0100 Subject: [PATCH] Modify NavLink active class condition in App.tsx --- client/src/App.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/App.tsx b/client/src/App.tsx index 6412ea3..f29b6a9 100644 --- a/client/src/App.tsx +++ b/client/src/App.tsx @@ -28,7 +28,7 @@ export default function App() { (isActive ? 'link active' : 'link')} + className={({ isActive }) => (isActive && location.search.includes('mode=all') ? 'link active' : 'link')} onClick={(e) => { e.preventDefault(); startRandomQuiz();