Change DataBase inside svelte to DBState for performance
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { get } from "svelte/store"
|
||||
import { alertNormal, alertSelect } from "../alert"
|
||||
import { keiServerURL } from "./kei"
|
||||
import { DataBase, setDatabase } from "../storage/database"
|
||||
import { DataBase, setDatabase } from "../storage/database.svelte"
|
||||
|
||||
export async function autoServerBackup(){
|
||||
const db = get(DataBase)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { get } from "svelte/store";
|
||||
import { hubURL } from "../characterCards";
|
||||
import { DataBase } from "../storage/database";
|
||||
import { DataBase } from "../storage/database.svelte";
|
||||
|
||||
export function keiServerURL(){
|
||||
const db = get(DataBase)
|
||||
|
||||
Reference in New Issue
Block a user