remove console logging, add unhandled error dialog #7
| @@ -83,7 +83,6 @@ | ||||
|   }); | ||||
|  | ||||
|   window.addEventListener("alert", (e) => { | ||||
|     console.log((e as CustomEvent).detail); | ||||
|     const toastMessage = (e as CustomEvent).detail; | ||||
|     switch (toastMessage.type) { | ||||
|       case "success": { | ||||
|   | ||||
| @@ -80,7 +80,6 @@ | ||||
|           const resultData = customEvent.detail; | ||||
|           const isGuest = "guest" in resultData; | ||||
|           const wasSuccessful = "user" in resultData; | ||||
|           console.log(resultData); | ||||
|           if (isGuest) { | ||||
|             currentPage.set(Page.Launch); | ||||
|             res(); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user