web/state/session: clean up

This commit is contained in:
wukko 2024-08-16 23:48:50 +06:00
parent 51bd2f72fd
commit 3336210e93
No known key found for this signature in database
GPG key ID: 3E30B3F26C7B4AA2

View file

@ -1,6 +1,4 @@
import { writable } from "svelte/store"; import { writable } from "svelte/store";
import type { Writable } from "svelte/store";
import type { CobaltSession } from "$lib/types/api"; import type { CobaltSession } from "$lib/types/api";
export const cachedSession: Writable<CobaltSession | null> = writable(); export const cachedSession = writable<CobaltSession | undefined>();