Parcourir la source

refactor: Remove unused Google Drive picker imports from Chat.svelte

Taylor Wilsdon (aider) il y a 4 mois
Parent
commit
eed7cfd2a2
1 fichiers modifiés avec 0 ajouts et 7 suppressions
  1. 0 7
      src/lib/components/chat/Chat.svelte

+ 0 - 7
src/lib/components/chat/Chat.svelte

@@ -9,7 +9,6 @@
 
 	import { goto } from '$app/navigation';
 	import { page } from '$app/stores';
-	import { loadGoogleAuthApi, loadGoogleDriveApi, createPicker } from '$lib/utils/google-drive-picker';
 
 	import { get, type Unsubscriber, type Writable } from 'svelte/store';
 	import type { i18n as i18nType } from 'i18next';
@@ -301,12 +300,6 @@
 	};
 
 	onMount(async () => {
-		// Initialize Google APIs
-		await Promise.all([
-			loadGoogleAuthApi(),
-			loadGoogleDriveApi()
-		]);
-		
 		window.addEventListener('message', onMessageHandler);
 		$socket?.on('chat-events', chatEventHandler);