From e149a0fd4cf64082c84907f2541720ccc3acab5e Mon Sep 17 00:00:00 2001 From: Zaid Ahmad <109442753+zaidahmad16@users.noreply.github.com> Date: Tue, 26 May 2026 15:17:51 -0400 Subject: [PATCH] fix: clear chain highlight when switching programs --- frontend/app/map/page.js | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/app/map/page.js b/frontend/app/map/page.js index 443f3e0..30f650e 100644 --- a/frontend/app/map/page.js +++ b/frontend/app/map/page.js @@ -167,6 +167,7 @@ export default function MapPage() { setNodes([]) setEdges([]) setSelectedNode(null) + setChainIds(null) fetch(`${API}/programs/${selectedProgram}`) .then(r => r.json()) .then(setCourseMap)