+
))}
{currentLines.future.map((line, index) => (
-
+
))}
@@ -439,12 +445,7 @@ export function MusicPlayer({ socket, shopId, user, isSpotifyNeedLogin }) {
{expanded
? "︿"
- : currentSong.item &&
- currentSong.item.album &&
- currentSong.item.album.images[0] &&
- currentSong.item.artists[0]
- ? "expand"
- : "request your song"}
+ : "request your song"}
>
}
diff --git a/src/pages/CafePage.js b/src/pages/CafePage.js
index 9a9cc20..c081595 100644
--- a/src/pages/CafePage.js
+++ b/src/pages/CafePage.js
@@ -71,7 +71,6 @@ function CafePage({
setIsStarted(true);
}
}
- setLoading(false);
};
useEffect(() => {
@@ -118,6 +117,7 @@ function CafePage({
socket.on("joined-room", (response) => {
const { isSpotifyNeedLogin } = response;
setNeedSpotifyLogin(isSpotifyNeedLogin);
+ setLoading(false);
});
}
@@ -162,6 +162,7 @@ function CafePage({
isLogout={handleLogout}
shopId={shopId}
shopName={shopName}
+ shopImage={config.image}
shopOwnerId={shopOwnerId}
shopClerks={shopClerks}
tableCode={table.tableCode}