Move DBState to stores
This commit is contained in:
@@ -2,7 +2,7 @@ import { v4 } from 'uuid';
|
||||
import { alertError, alertInput, alertNormal, alertStore, alertWait } from '../alert';
|
||||
import { get, writable } from 'svelte/store';
|
||||
import { setDatabase, type character, saveImage, type Chat, getCurrentChat, setCurrentChat, getDatabase } from '../storage/database.svelte';
|
||||
import { selectedCharID } from '../stores';
|
||||
import { selectedCharID } from '../stores.svelte';
|
||||
import { findCharacterIndexbyId, sleep } from '../util';
|
||||
import type { DataConnection, Peer } from 'peerjs';
|
||||
import { readImage } from '../globalApi';
|
||||
|
||||
Reference in New Issue
Block a user