mirror of
https://github.com/imputnet/cobalt.git
synced 2025-12-18 14:08:51 +00:00
web/DownloadButton: extract api interaction logic into a lib
download button state is now stored, well, in a state
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
import { writable } from "svelte/store";
|
||||
import type { CobaltDownloadButtonState } from "$lib/types/omnibox";
|
||||
|
||||
export const link = writable("");
|
||||
export const downloadButtonState = writable<CobaltDownloadButtonState>("idle");
|
||||
|
||||
Reference in New Issue
Block a user