This commit is contained in:
zadit
2024-10-17 03:54:32 +07:00
parent 8f50909e1a
commit 45b958642b
5 changed files with 17 additions and 13 deletions

View File

@@ -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}