zwischenstand
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import { get, writable } from "svelte/store"
|
||||
import { setUser } from "../sentry"
|
||||
import { baseURL } from "../config"
|
||||
/*********** location **************************/
|
||||
|
||||
@@ -126,18 +125,5 @@ location.subscribe((l) => {
|
||||
})
|
||||
})
|
||||
export const openModal = writable<boolean>(false)
|
||||
export const overlays = writable<Overlay[]>([])
|
||||
export const categories = writable<BigCommerceCategory[]>([])
|
||||
export const login = writable<Login | null>(null)
|
||||
login.subscribe((l) => {
|
||||
setUser({
|
||||
username: l?.customer?.username || l?.tokenData?.tibiId || "anonymous",
|
||||
email: l?.customer?.email || l?.tokenData?.email || "anonymous",
|
||||
})
|
||||
})
|
||||
export const modules = writable<Module[]>([])
|
||||
|
||||
|
||||
export const backgroundImages = writable<{ standard?: string }>({})
|
||||
export const isMobile = writable<boolean>(false)
|
||||
export const actionApproval = writable<ActionApproval | null>(null)
|
||||
|
||||
Reference in New Issue
Block a user