Move DBState to stores

This commit is contained in:
kwaroran
2024-10-26 21:17:46 +09:00
parent 92f1ed0528
commit da907f4fc2
84 changed files with 183 additions and 156 deletions

View File

@@ -1,6 +1,6 @@
<script lang="ts">
import { ArrowLeft, ArrowRight } from "lucide-svelte";
import { DynamicGUI, MobileGUI, sideBarClosing, sideBarStore } from "src/ts/stores";
import { DynamicGUI, MobileGUI, sideBarClosing, sideBarStore } from "src/ts/stores.svelte";
</script>

View File

@@ -1,6 +1,7 @@
<script lang="ts">
import { onMount } from 'svelte';
import { DBState } from "../../../ts/storage/database.svelte";
import { DBState } from 'src/ts/stores.svelte';
import { longpress } from 'src/ts/gui/longtouch';
let textarea:HTMLElement = $state();