Skip to content

Commit 0917e04

Browse files
author
Clint McMahon
committed
added airbreak
1 parent eff897a commit 0917e04

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

src/App.js

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ function App() {
2727
artist={nowPlaying.artist}
2828
song={nowPlaying.song}
2929
album={nowPlaying.album}
30+
playType={nowPlaying.play_type}
3031
/>
3132
</div>
3233
</>

src/components/TrackInfo.js

+8
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
import React from "react";
22

33
function TrackInfo(props) {
4+
if(props.playType === "airbreak")
5+
{
6+
return (
7+
<div className="block">
8+
Air Break
9+
</div>
10+
)
11+
}
412
return (
513
<>
614
<div className="block">

src/index.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
html,
22
body,
33
#root {
4-
height: 100%;
4+
min-width: 325px;
55
}
66

77
body {

0 commit comments

Comments
 (0)