We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eff897a commit 0917e04Copy full SHA for 0917e04
src/App.js
@@ -27,6 +27,7 @@ function App() {
27
artist={nowPlaying.artist}
28
song={nowPlaying.song}
29
album={nowPlaying.album}
30
+ playType={nowPlaying.play_type}
31
/>
32
</div>
33
</>
src/components/TrackInfo.js
@@ -1,6 +1,14 @@
1
import React from "react";
2
3
function TrackInfo(props) {
4
+ if(props.playType === "airbreak")
5
+ {
6
+ return (
7
+ <div className="block">
8
+ Air Break
9
+ </div>
10
+ )
11
+ }
12
return (
13
<>
14
<div className="block">
src/index.css
@@ -1,7 +1,7 @@
html,
body,
#root {
- height: 100%;
+ min-width: 325px;
}
body {
0 commit comments