fix(contexts): replace ProfileContext with UserContext in timetable pages

This commit is contained in:
Agent Zero
2026-02-26 07:09:43 +00:00
parent c7207eb805
commit 00a6f941c7
5 changed files with 10 additions and 10 deletions
+2 -2
View File
@@ -2,10 +2,10 @@ import React, { useEffect } from 'react';
import { Link } from 'react-router-dom';
import { AccessTimeIcon, KeyboardArrowRightIcon, MenuBookIcon, PeopleIcon, SchoolIcon } from '@mui/icons-material';
import useTimetableStore from '../../stores/timetableStore';
import { useProfile } from '../../contexts/ProfileContext';
import { useUser } from '../../contexts/UserContext';
const MyClassesPage: React.FC = () => {
const { profile } = useProfile();
const { profile } = useUser();
const {
myClasses,
myClassesLoading,