diff --git "a/src/views/InstructorView.js" "b/src/views/InstructorView.js" --- "a/src/views/InstructorView.js" +++ "b/src/views/InstructorView.js" @@ -1,19 +1,14 @@ import { createRoom, subscribeToRoom, getChallenges, resetProgress, removeUser, cleanupOldRooms } from "../services/classroom.js"; import { loginWithEmail, registerWithEmail, signOutUser, checkInstructorPermission, getInstructors, addInstructor, updateInstructor, removeInstructor } from "../services/auth.js"; import { generateMonsterSVG, getNextMonster, MONSTER_DEFS } from "../utils/monsterUtils.js"; -import { auth } from "../services/firebase.js"; // Load html-to-image dynamically (Better support than html2canvas) const script = document.createElement('script'); script.src = "https://cdnjs.cloudflare.com/ajax/libs/html-to-image/1.11.11/html-to-image.js"; document.head.appendChild(script); -// Dynamic Import for Gemini will be used inside the handler to prevent load issues -// const { initGemini, evaluatePrompts } = await import("../services/gemini.js"); - let cachedChallenges = []; let currentStudents = []; -let geminiEnabled = false; export async function renderInstructorView() { // Pre-fetch challenges for table headers @@ -43,10 +38,10 @@ export async function renderInstructorView() {
- -
@@ -116,7 +111,7 @@ export async function renderInstructorView() { - @@ -188,10 +183,6 @@ export async function renderInstructorView() { - -