This commit is contained in:
zadit
2024-10-20 23:41:35 +07:00
parent 45b958642b
commit e2522bd91c
9 changed files with 146 additions and 97 deletions

View File

@@ -38,6 +38,7 @@ function CafePage({
guestSideOfClerk,
removeConnectedGuestSides,
setModal,
loading,
}) {
const location = useLocation();
const [searchParams] = useSearchParams();
@@ -47,7 +48,6 @@ function CafePage({
const navigate = useNavigate();
const [loading, setLoading] = useState(true);
const [screenMessage, setScreenMessage] = useState("");
const [isSpotifyNeedLogin, setNeedSpotifyLogin] = useState(true);
@@ -117,7 +117,6 @@ function CafePage({
socket.on("joined-room", (response) => {
const { isSpotifyNeedLogin } = response;
setNeedSpotifyLogin(isSpotifyNeedLogin);
setLoading(false);
});
}