diff --git a/ceremony/src/lib/components/Terminal/Timer.svelte b/ceremony/src/lib/components/Terminal/Timer.svelte index 82295df849..b9ad3ee102 100644 --- a/ceremony/src/lib/components/Terminal/Timer.svelte +++ b/ceremony/src/lib/components/Terminal/Timer.svelte @@ -44,9 +44,7 @@ $effect(() => { return () => clearInterval(timer) }) -let show = $derived( - contributor.contributionState === "contribute" || contributor.contributionState === "verifying" -) +let show = $derived(contributor.contributionState === "contribute") {#if show} diff --git a/ceremony/src/routes/+layout.svelte b/ceremony/src/routes/+layout.svelte index 5966807c51..8e278fb2f9 100644 --- a/ceremony/src/routes/+layout.svelte +++ b/ceremony/src/routes/+layout.svelte @@ -18,7 +18,7 @@ import "../styles/tailwind.css" let { children } = $props() -let { user, contributor } = createState() +let { user, contributor, terminal } = createState() $effect(() => { const { @@ -40,6 +40,10 @@ $effect(() => { axiom.ingest("monitor", [{ user: user.session?.user.id, type: "start_contribution" }]) start() } + + if (contributor.contributionState === "contributed") { + terminal.setStep(10) + } }) watch(