Oh my god

This commit is contained in:
ItzLightyHD 2022-07-20 19:19:55 +02:00
parent 3227d4d361
commit 5e6c202a3b
No known key found for this signature in database
GPG Key ID: DEFAE1C838F14470
1 changed files with 1 additions and 0 deletions

View File

@ -183,6 +183,7 @@ socket.onopen = () => {
socket.onmessage = (event) => {
const data = JSON.parse(event.data);
console.log(data);
if(data.message === "PREVIEW_USERNAME_MISSING") {
if(!isLoggedIn) return alphaPreviewNotLoggedInModal.show();
alphaPreviewModal.show();