diff --git a/astro.config.ts b/astro.config.ts index 7aa41a3..e5d2549 100644 --- a/astro.config.ts +++ b/astro.config.ts @@ -43,7 +43,7 @@ export default defineConfig({ globIgnores: ["**/_worker.js/**"] }, devOptions: { - enabled: false, + enabled: true, type: "module" /* other options */ } diff --git a/src/components/ReaderMenu/ReaderMenu.tsx b/src/components/ReaderMenu/ReaderMenu.tsx index 5c91ceb..05a53cb 100644 --- a/src/components/ReaderMenu/ReaderMenu.tsx +++ b/src/components/ReaderMenu/ReaderMenu.tsx @@ -3,7 +3,8 @@ import { Show, batch, type Setter, - createResource + createResource, + Suspense } from "solid-js"; import { SvgSettings, SvgBook, SvgArrow } from "@components/Icons/Icons"; import { BookList } from "./BookList"; @@ -16,8 +17,8 @@ import { } from "@lib/utils-ui"; import { Dialog } from "@kobalte/core"; // https://github.com/solidjs/solid/discussions/845 -clickOutside //retain module to keep typescript from stripping out; -escapeOut //retain module; +clickOutside; //retain module to keep typescript from stripping out; +escapeOut; //retain module; import { translator, resolveTemplate } from "@solid-primitives/i18n"; import type { Component } from "solid-js"; @@ -280,7 +281,7 @@ const ReaderMenu: Component = (props) => { } return ( -
+
= (props) => { use:escapeOut={() => setMenuIsOpen(false)} class="mx-auto flex w-full flex-wrap items-center bg-[--clrBackground]" > -
-
+
+
- - - + + + + +
diff --git a/src/components/Settings/OfflineSection.tsx b/src/components/Settings/OfflineSection.tsx index f8a691a..c033b47 100644 --- a/src/components/Settings/OfflineSection.tsx +++ b/src/components/Settings/OfflineSection.tsx @@ -192,7 +192,7 @@ export function OfflineSection(props: IOfflineSection) {