Update naming of builder navigation store type
This commit is contained in:
parent
0cbf0a7a4b
commit
61b42d316b
|
@ -2,13 +2,13 @@ import { writable } from "svelte/store"
|
||||||
|
|
||||||
type GotoFuncType = (path: string) => void
|
type GotoFuncType = (path: string) => void
|
||||||
|
|
||||||
interface Store {
|
interface PortalNavigationStore {
|
||||||
initialisated: boolean
|
initialisated: boolean
|
||||||
goto: GotoFuncType
|
goto: GotoFuncType
|
||||||
}
|
}
|
||||||
|
|
||||||
export function createNavigationStore() {
|
export function createNavigationStore() {
|
||||||
const store = writable<Store>({
|
const store = writable<PortalNavigationStore>({
|
||||||
initialisated: false,
|
initialisated: false,
|
||||||
goto: undefined as any,
|
goto: undefined as any,
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue