From 66d909105ba1d015c5b5a248cb366ec3917d6c5b Mon Sep 17 00:00:00 2001 From: Ivaylo Badinov Date: Tue, 9 Jul 2024 13:19:47 +0300 Subject: [PATCH] chore: debug --- js/ui/src/App.svelte | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/ui/src/App.svelte b/js/ui/src/App.svelte index 0a65873..62ee685 100644 --- a/js/ui/src/App.svelte +++ b/js/ui/src/App.svelte @@ -73,7 +73,7 @@ const preparedMessage = msgToSign.prepareMessage(); // no clue why this was needed - // await new Promise((resolve) => setTimeout(resolve, 1000)); + await new Promise((resolve) => setTimeout(resolve, 1000)); const signature = await signMessage(config,{ message: preparedMessage, @@ -96,6 +96,7 @@ return; } catch (e) { console.error(e); + alert(e); } } });