|
|
@@ -7,7 +7,6 @@ import { AuthLayout } from '@/client/mobile/components/Classroom/AuthLayout';
|
|
|
import { ClassroomProvider, useClassroomContext } from "@/client/mobile/components/Classroom/ClassroomProvider";
|
|
|
import { TeacherView } from '@/client/mobile/components/Classroom/TeacherView';
|
|
|
import { StudentView } from '@/client/mobile/components/Classroom/StudentView';
|
|
|
-import { ToastContainer } from 'react-toastify';
|
|
|
import { Button } from '@/client/components/ui/button';
|
|
|
import { Input } from '@/client/components/ui/input';
|
|
|
import { Card, CardContent, CardHeader, CardTitle } from '@/client/components/ui/card';
|
|
|
@@ -204,21 +203,8 @@ const Classroom = () => {
|
|
|
export const ClassroomPage = () => {
|
|
|
const { user } = useAuth();
|
|
|
return (
|
|
|
- <>
|
|
|
- <ClassroomProvider user={user!}>
|
|
|
- <Classroom />
|
|
|
- </ClassroomProvider>
|
|
|
- <ToastContainer
|
|
|
- position="top-right"
|
|
|
- autoClose={500}
|
|
|
- hideProgressBar={false}
|
|
|
- newestOnTop={false}
|
|
|
- closeOnClick
|
|
|
- rtl={false}
|
|
|
- pauseOnFocusLoss
|
|
|
- draggable
|
|
|
- pauseOnHover
|
|
|
- />
|
|
|
- </>
|
|
|
+ <ClassroomProvider user={user!}>
|
|
|
+ <Classroom />
|
|
|
+ </ClassroomProvider>
|
|
|
)
|
|
|
}
|