remove console logging
This commit is contained in:
parent
5b1407638a
commit
0b679d320f
|
@ -83,7 +83,6 @@
|
||||||
});
|
});
|
||||||
|
|
||||||
window.addEventListener("alert", (e) => {
|
window.addEventListener("alert", (e) => {
|
||||||
console.log((e as CustomEvent).detail);
|
|
||||||
const toastMessage = (e as CustomEvent).detail;
|
const toastMessage = (e as CustomEvent).detail;
|
||||||
switch (toastMessage.type) {
|
switch (toastMessage.type) {
|
||||||
case "success": {
|
case "success": {
|
||||||
|
|
|
@ -80,7 +80,6 @@
|
||||||
const resultData = customEvent.detail;
|
const resultData = customEvent.detail;
|
||||||
const isGuest = "guest" in resultData;
|
const isGuest = "guest" in resultData;
|
||||||
const wasSuccessful = "user" in resultData;
|
const wasSuccessful = "user" in resultData;
|
||||||
console.log(resultData);
|
|
||||||
if (isGuest) {
|
if (isGuest) {
|
||||||
currentPage.set(Page.Launch);
|
currentPage.set(Page.Launch);
|
||||||
res();
|
res();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user