1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-09-25 16:39:02 +02:00

Active item bug in ai tutor sidebar

This commit is contained in:
Kamran Ahmed
2025-07-28 21:16:53 +01:00
parent df11c40976
commit 7214ea7d25

View File

@@ -118,7 +118,7 @@ export function AITutorSidebar(props: AITutorSidebarProps) {
useEffect(() => {
const { format } = getUrlParams();
setFormat(format);
setFormat(format || 'course');
setIsInitialLoad(false);
}, []);