diff --git a/src/lib/events.ts b/src/lib/events.ts index 18f3431..dfa9cec 100644 --- a/src/lib/events.ts +++ b/src/lib/events.ts @@ -5,7 +5,7 @@ import { writable } from "svelte/store"; let interval: ReturnType | undefined = undefined; type NodeState = "stopped" | "running"; -export let nodeState = writable("stopped"); +export const nodeState = writable("stopped"); export function subscribeToNodeEvents() { void listen("event", event => {