mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-15 05:45:19 +00:00
refactor: Remove unused Google Drive picker imports from Chat.svelte
This commit is contained in:
parent
b2dc6fef9f
commit
eed7cfd2a2
1 changed files with 0 additions and 7 deletions
|
|
@ -9,7 +9,6 @@
|
||||||
|
|
||||||
import { goto } from '$app/navigation';
|
import { goto } from '$app/navigation';
|
||||||
import { page } from '$app/stores';
|
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 { get, type Unsubscriber, type Writable } from 'svelte/store';
|
||||||
import type { i18n as i18nType } from 'i18next';
|
import type { i18n as i18nType } from 'i18next';
|
||||||
|
|
@ -301,12 +300,6 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
onMount(async () => {
|
onMount(async () => {
|
||||||
// Initialize Google APIs
|
|
||||||
await Promise.all([
|
|
||||||
loadGoogleAuthApi(),
|
|
||||||
loadGoogleDriveApi()
|
|
||||||
]);
|
|
||||||
|
|
||||||
window.addEventListener('message', onMessageHandler);
|
window.addEventListener('message', onMessageHandler);
|
||||||
$socket?.on('chat-events', chatEventHandler);
|
$socket?.on('chat-events', chatEventHandler);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue