mirror of
https://github.com/captbaritone/webamp.git
synced 2026-01-23 02:15:01 +00:00
Remove unused imports
This commit is contained in:
parent
fbc0bede3e
commit
f5c67f8ab7
1 changed files with 2 additions and 8 deletions
|
|
@ -38,14 +38,7 @@ import LoadQueue from "../loadQueue";
|
|||
|
||||
import { removeAllTracks } from "./playlist";
|
||||
import { setPreamp, setEqBand } from "./equalizer";
|
||||
import {
|
||||
LoadStyle,
|
||||
Dispatchable,
|
||||
PlaylistTrack,
|
||||
Track,
|
||||
URLTrack,
|
||||
EqfPreset
|
||||
} from "../types";
|
||||
import { LoadStyle, Dispatchable, Track, EqfPreset } from "../types";
|
||||
|
||||
// Lower is better
|
||||
const DURATION_VISIBLE_PRIORITY = 5;
|
||||
|
|
@ -239,6 +232,7 @@ export function loadMediaFile(
|
|||
} else {
|
||||
throw new Error("Expected track to have either a blob or a url");
|
||||
}
|
||||
|
||||
dispatch({
|
||||
type: ADD_TRACK_FROM_URL,
|
||||
url: canonicalUrl,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue