Remove unused imports

This commit is contained in:
Jordan Eldredge 2018-12-29 12:55:07 -08:00
parent fbc0bede3e
commit f5c67f8ab7

View file

@ -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,