refactor(tracks): remove unused variables and imports
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
import { enhance } from '$app/forms';
|
||||
import TrackListing from '$lib/components/groove/TrackListing.svelte';
|
||||
import { getPlayerState } from '$lib/player.svelte';
|
||||
import type { PageServerData } from './$types';
|
||||
import type { SubmitFunction } from './[hash]/$types';
|
||||
import type { SubmitFunction as AddTrackSubmitFunction } from '../playlists/[id]/add-track/[hash]/$types';
|
||||
import * as ContextMenu from '$lib/components/ui/context-menu';
|
||||
@@ -14,12 +13,6 @@
|
||||
import { getLibraryState } from '$lib/library.svelte';
|
||||
import { cn } from '$lib/utils';
|
||||
|
||||
interface Props {
|
||||
data: PageServerData;
|
||||
}
|
||||
|
||||
let { data }: Props = $props();
|
||||
|
||||
const player = getPlayerState();
|
||||
const search = getSearchState();
|
||||
const library = getLibraryState();
|
||||
|
||||
Reference in New Issue
Block a user