mirror of
https://github.com/cupcakearmy/cryptgeon.git
synced 2025-09-07 18:00:39 +00:00
9 lines
211 B
TypeScript
9 lines
211 B
TypeScript
import { API, type Status } from 'cryptgeon/shared'
|
|
import { writable } from 'svelte/store'
|
|
|
|
export const status = writable<null | Status>(null)
|
|
|
|
export async function init() {
|
|
status.set(await API.status())
|
|
}
|