diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 9bfa261..9c8088b 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -1,15 +1,22 @@ + onMount(() => { + Init(); + }); +
- + + + + +
-
diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 9381500..85b57de 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -1,7 +1,43 @@ -
+{#if $rThreadParent} + {$rThreadParent.children.size}
+ +{/if} diff --git a/src/routes/debug/+page.svelte b/src/routes/debug/+page.svelte new file mode 100644 index 0000000..6210611 --- /dev/null +++ b/src/routes/debug/+page.svelte @@ -0,0 +1,14 @@ + +
+Local Pubkey: {$currentPubkey} +{#if responseFromWorker && $responseFromWorker} +Master pubkey for WoT: {$responseFromWorker.masterPubkey}
+Root events: {$responseFromWorker.rootEvents.size}
+Total events: {$responseFromWorker.events.size} +{/if}