Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/src/aiTeacherDrawer/AiDiffDrawer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const AiDiffContainer: React.FC<AiDiffContainerProps> = ({
}) => {
// Welcome experience shut off in preparation for spring 2026 redesign.
const [showWelcomeExperience, setShowWelcomeExperience] = useState(false);
const [activeNav, setActiveNav] = useState('Home');
const [activeNav, setActiveNav] = useState('Chats');
const [showChatList, setShowChatList] = useState(false);
const {personalizationData} = useTeachingProfileData();

Expand Down
4 changes: 2 additions & 2 deletions apps/src/aiTeacherDrawer/BottomNav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ interface NavItem {
}

const NAV_ITEMS: NavItem[] = [
{label: 'Home', iconName: 'house'},
// {label: 'Home', iconName: 'house'},
{label: 'Chats', iconName: 'comment'},
{label: 'Learn', iconName: 'file-lines'},
// {label: 'Learn', iconName: 'file-lines'},
{label: 'Alerts', iconName: 'bell'},
];

Expand Down
3 changes: 2 additions & 1 deletion apps/src/aiTeacherDrawer/ChatList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,8 @@ const ChatList: React.FC<ChatListProps> = ({
curriculumCourses: curriculumCourses,
})
);
}, [curriculumCourses, context, dispatch]);
onChatSelect?.();
}, [curriculumCourses, context, dispatch, onChatSelect]);

return (
<aside
Expand Down
Loading