build fixes
This commit is contained in:
@@ -172,8 +172,8 @@ export class MediaPlayer {
|
||||
return this.favoritesStore.getFavorites();
|
||||
}
|
||||
|
||||
public async addFavorite(item: PlaylistItem) {
|
||||
return this.favoritesStore.addFavorite(item);
|
||||
public async addFavorite(filename: string) {
|
||||
return this.favoritesStore.addFavorite(filename);
|
||||
}
|
||||
|
||||
public async removeFavorite(filename: string) {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import classNames from 'classnames';
|
||||
import React, { useState, useRef, useEffect, ReactNode } from 'react';
|
||||
import { FaPlay, FaVolumeUp, FaVolumeOff, FaHeart } from 'react-icons/fa';
|
||||
import { FaPlay, FaVolumeUp, FaVolumeOff } from 'react-icons/fa';
|
||||
import { getDisplayTitle, PlaylistItem } from '../api/player';
|
||||
|
||||
export enum PlayState {
|
||||
|
||||
Reference in New Issue
Block a user