Update
This commit is contained in:
14
src/lib/stores/uiState.ts
Normal file
14
src/lib/stores/uiState.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import { writable } from 'svelte/store';
|
||||
import type { Readable, Writable } from 'svelte/store';
|
||||
|
||||
export type UIState = {
|
||||
unlocked: boolean,
|
||||
}
|
||||
|
||||
const store: Writable<UIState> = writable({ unlocked: false })
|
||||
|
||||
const uiStateStore: WritableUIStateStore =
|
||||
{
|
||||
...store
|
||||
}
|
||||
export default uiStateStore;
|
||||
Reference in New Issue
Block a user