Lashtw commited on
Commit
0bd2d51
·
verified ·
1 Parent(s): 1f943fb

Upload 10 files

Browse files
Files changed (1) hide show
  1. src/views/InstructorView.js +2 -2
src/views/InstructorView.js CHANGED
@@ -755,9 +755,9 @@ export function setupInstructorEvents() {
755
  // Check if updateDashboard is defined in scope
756
  // Auto-Restore Room View if exists
757
  if (localStorage.getItem('vibecoding_gemini_key')) {
758
- const { initGemini } = await import("../services/gemini.js");
759
  const apiKey = localStorage.getItem('vibecoding_gemini_key');
760
- const success = await initGemini(apiKey);
761
  if (success) {
762
  geminiEnabled = true;
763
  // Check student toggle
 
755
  // Check if updateDashboard is defined in scope
756
  // Auto-Restore Room View if exists
757
  if (localStorage.getItem('vibecoding_gemini_key')) {
758
+ const GeminiService = await import("../services/gemini.js?t=" + Date.now());
759
  const apiKey = localStorage.getItem('vibecoding_gemini_key');
760
+ const success = await GeminiService.initGemini(apiKey);
761
  if (success) {
762
  geminiEnabled = true;
763
  // Check student toggle