forked from tsai/budibase
5 changed files with 6 additions and 27 deletions
@ -1,13 +0,0 @@ |
|||||
import { writable } from "svelte/store" |
|
||||
|
|
||||
const INITIAL_BACKEND_UI_STATE = {} |
|
||||
|
|
||||
export const getBackendUiStore = () => { |
|
||||
const store = writable({ ...INITIAL_BACKEND_UI_STATE }) |
|
||||
|
|
||||
store.actions = { |
|
||||
reset: () => store.set({ ...INITIAL_BACKEND_UI_STATE }), |
|
||||
} |
|
||||
|
|
||||
return store |
|
||||
} |
|
||||
Loading…
Reference in new issue