added no media selected text
This commit is contained in:
parent
9c0cde9d6b
commit
d7888970d8
1 changed files with 1 additions and 0 deletions
|
@ -81,6 +81,7 @@ function Player({ id }: { id: number }) {
|
|||
|
||||
return (
|
||||
<div>
|
||||
{playerState.loadedItem == null && (<div>No Media Selected</div>)}
|
||||
{playerState.loadedItem !== null && (<div>{playerState.loadedItem.title}</div>)}
|
||||
{playerState.loading && <b>LOADING</b>}
|
||||
<button
|
||||
|
|
Loading…
Reference in a new issue