move imports to top

This commit is contained in:
maxid
2025-12-21 17:04:49 +01:00
parent a974a3484b
commit cc6e77deb7

View File

@@ -10,15 +10,15 @@
import * as RadioGroup from '$lib/components/ui/radio-group/index.js';
import AddMediaCard from '$lib/components/add-media-card.svelte';
import { onMount } from 'svelte';
import { resolve } from '$app/paths';
import client from '$lib/api';
import type { components } from '$lib/api/api';
import { handleQueryNotificationToast } from '$lib/utils.ts';
let searchTerm: string = $state('');
let metadataProvider: 'tmdb' | 'tvdb' = $state('tmdb');
let data: components['schemas']['MetaDataProviderSearchResult'][] | null = $state(null);
let isSearching: boolean = $state(false);
import { resolve } from '$app/paths';
import client from '$lib/api';
import type { components } from '$lib/api/api';
import { handleQueryNotificationToast } from '$lib/utils.ts';
onMount(() => {
search('');