diff --git a/ceremony/src/lib/components/Ceremony.svelte b/ceremony/src/lib/components/Ceremony.svelte index a1b1ebb05d..5e643f5082 100644 --- a/ceremony/src/lib/components/Ceremony.svelte +++ b/ceremony/src/lib/components/Ceremony.svelte @@ -40,6 +40,8 @@ window.addEventListener("beforeunload", (e: BeforeUnloadEvent) => { {#if !contributor.userWallet} + {:else if contributor.state === 'contributed'} + {:else if contributor.clientState === 'offline'} {:else if !contributor.downloadedSecret} @@ -47,15 +49,13 @@ window.addEventListener("beforeunload", (e: BeforeUnloadEvent) => { {:else if contributor.state === "inQueue"} {:else if contributor.state === 'contribute'} -

Starting contribution...

+

Starting contribution...

{:else if contributor.state === 'contributing'} -

Contributing...

+

Contributing...

{:else if contributor.state === 'verifying'} -

Verifying your contribution...

- {:else if contributor.state === 'contributed'} - +

Verifying your contribution...

{:else} -

Not able to contribute at this time

+

Not able to contribute at this time

{/if} diff --git a/ceremony/src/lib/components/Code.svelte b/ceremony/src/lib/components/Code.svelte index 3cc439907c..b0421785d5 100644 --- a/ceremony/src/lib/components/Code.svelte +++ b/ceremony/src/lib/components/Code.svelte @@ -87,12 +87,7 @@ function handleKeyDown(event: KeyboardEvent, index: number) { {/each} -{#if secondary} - -{:else} - -{/if} +