remove console logging, add unhandled error dialog #7

Merged
HorizonCode merged 2 commits from dev into master 2024-01-25 13:20:12 +00:00
2 changed files with 0 additions and 2 deletions
Showing only changes of commit 0b679d320f - Show all commits

View File

@ -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": {

View File

@ -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();