@ -10,7 +10,6 @@
setContext("sdk", SDK)
setContext("component", writable({}))
setContext("data", createDataStore())
setContext("notifications", notificationStore)
setContext("screenslot", false)
let loaded = false
@ -2,7 +2,7 @@
import { flip } from 'svelte/animate';
import { fly } from "svelte/transition"
import { getContext } from "svelte"
const notifications = getContext("notifications")
const { notifications } = getContext("sdk")
export let themes = {
danger: "#E26D69",
@ -13,7 +13,7 @@ import DataProvider from "./components/DataProvider.svelte"
export default {
API,
authStore,
notificationStore,
notifications: notificationStore,
routeStore,
screenStore,
styleable,