fix: add missing imports
This commit is contained in:
1 parent
9811b36e58
commit
e76d67f3a8
1 file changed
+3
-1
@@ -123,6 +123,8 @@
|
|||||||
import { sileo } from 'sileo';
|
import { sileo } from 'sileo';
|
||||||
import ScrollContainer from '@/components/ui/scroll-container/ScrollContainer.svelte';
|
import ScrollContainer from '@/components/ui/scroll-container/ScrollContainer.svelte';
|
||||||
import { deleteTheme, downloadTheme, loadTheme } from '@/themes';
|
import { deleteTheme, downloadTheme, loadTheme } from '@/themes';
|
||||||
|
import { invoke } from "@tauri-apps/api/core";
|
||||||
|
import { listen } from "@tauri-apps/api/event";
|
||||||
|
|
||||||
let selectedView = $state('home');
|
let selectedView = $state('home');
|
||||||
let progress = $state(-1);
|
let progress = $state(-1);
|
||||||
@@ -721,7 +723,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
const setupThemeImport = async () => {
|
const setupThemeImport = async () => {
|
||||||
const initialUrls = await invoke('opened_urls');
|
const initialUrls = await invoke<string[]>('opened_urls');
|
||||||
if (initialUrls.length > 0) {
|
if (initialUrls.length > 0) {
|
||||||
console.log(initialUrls);
|
console.log(initialUrls);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user