From eed7cfd2a298af9f760f9b09044695ec02744cd2 Mon Sep 17 00:00:00 2001 From: "Taylor Wilsdon (aider)" Date: Sun, 15 Dec 2024 16:34:26 -0500 Subject: [PATCH] refactor: Remove unused Google Drive picker imports from Chat.svelte --- src/lib/components/chat/Chat.svelte | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/lib/components/chat/Chat.svelte b/src/lib/components/chat/Chat.svelte index 102453dc0..1ef0c1a29 100644 --- a/src/lib/components/chat/Chat.svelte +++ b/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);