diff options
| author | Adam Soltys <[email protected]> | 2026-03-02 21:22:41 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-03-02 21:22:41 -0800 |
| commit | 7c4d393feaf9c594fa6bdae274abc0edd45c3373 (patch) | |
| tree | 74ea34dbbc9b7399b910ae92af9208f2c787ecde /src/lib | |
| parent | 90f29dce3d675f850e48ede2edb187e6c53b84da (diff) | |
| download | coinos-ui-7c4d393feaf9c594fa6bdae274abc0edd45c3373.tar.gz coinos-ui-7c4d393feaf9c594fa6bdae274abc0edd45c3373.zip | |
offline mode
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/store.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/store.ts b/src/lib/store.ts index 435df4b2..13aa8bd8 100644 --- a/src/lib/store.ts +++ b/src/lib/store.ts @@ -101,3 +101,8 @@ export const paymentSignal = writable(0); export const lastPayment = writable<{ iid: string; amount: number; confirmed: boolean } | null>( null, ); +export const cachedUser = persistLocal("cachedUser"); +export const cachedAccounts = persistLocal("cachedAccounts", []); +export const cachedPayments = persistLocal("cachedPayments", []); +export const cachedRates = persistLocal("cachedRates"); +export const offline = writable(false); |
