diff --git a/package.json b/package.json index 96b454b..3576ac4 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "groovebrew-mockup", "version": "0.1.0", "private": true, - "homepage": "https://test.kedaimaster.com", + "homepage": "https://kedaimaster.com", "dependencies": { "@emotion/react": "^11.13.3", "@emotion/styled": "^11.13.0", diff --git a/src/components/MusicPlayer.css b/src/components/MusicPlayer.css index f68f3e9..6719d0a 100644 --- a/src/components/MusicPlayer.css +++ b/src/components/MusicPlayer.css @@ -123,7 +123,7 @@ -ms-overflow-style: none; /* IE and Edge */ scrollbar-width: none; /* Firefox */ position: relative; - max-height: 400px; + max-height: 462px; /* Adjust the max-height as needed */ overflow-y: auto; /* Allow vertical scrolling */ diff --git a/src/components/MusicPlayer.js b/src/components/MusicPlayer.js index b92e59d..754932f 100644 --- a/src/components/MusicPlayer.js +++ b/src/components/MusicPlayer.js @@ -108,7 +108,7 @@ export function MusicPlayer({ socket, shopId, user, shopOwnerId, isSpotifyNeedLo // setSubtitleColor("white"); // setSubtitleBG("black"); // } - const proxiedUrl = `https://test.api.kedaimaster.com/image?url=${encodeURIComponent(modifyUrl(imageUrl))}`; // Use your proxy to fetch the image + const proxiedUrl = `https://api.kedaimaster.com/image?url=${encodeURIComponent(modifyUrl(imageUrl))}`; // Use your proxy to fetch the image setBackgroundImage(proxiedUrl); } catch (error) { @@ -413,6 +413,11 @@ export function MusicPlayer({ socket, shopId, user, shopOwnerId, isSpotifyNeedLo }, 1000); // 1 second timeout (same as the CSS transition duration) }; + const handleFocus = () => { + console.log(user) + if(user.length == 0) setModal("message", { captMessage: 'Silahkan lakukan transaksi' }, null, null); + }; + return (