Oh my god
This commit is contained in:
parent
3227d4d361
commit
5e6c202a3b
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue