Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
snowflake-x committed Jul 21, 2023
1 parent 403ecbc commit b4baf0c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -211,9 +211,11 @@ async function load() {
const [, endpoint, { data }] = JSON.parse(e.data);
if (data === "ChampSelect") {
mount();
} else if (data === "None") {
} else if (data === "None" || data === "Matchmaking" || data === "GameStart") {
unmount();
}
console.log(endpoint);
console.log(data);
};
}

Expand Down

0 comments on commit b4baf0c

Please sign in to comment.