diff --git a/.vscode/settings.json b/.vscode/settings.json
index bedf1ce5..3bbde5aa 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -16,5 +16,6 @@
},
"css.customData": [
".vscode/tailwind.json"
- ]
+ ],
+ "biome.enabled": false
}
diff --git a/deno.json b/deno.json
index 90c587ab..b9f94995 100644
--- a/deno.json
+++ b/deno.json
@@ -9,32 +9,20 @@
"preview": "deno run -A main.ts",
"update": "deno run -A -r https://fresh.deno.dev/update ."
},
- "lint": {
- "rules": {
- "tags": [
- "fresh",
- "recommended"
- ]
- }
- },
- "exclude": [
- "**/_fresh/*"
- ],
+ "lint": { "rules": { "tags": ["fresh", "recommended"] } },
+ "exclude": ["**/_fresh/*"],
"imports": {
- "$fresh/": "https://deno.land/x/fresh@1.6.1/",
- "preact": "https://esm.sh/preact@10.19.2",
- "preact/": "https://esm.sh/preact@10.19.2/",
- "@preact/signals": "https://esm.sh/*@preact/signals@1.2.1",
- "@preact/signals-core": "https://esm.sh/*@preact/signals-core@1.5.0",
+ "$fresh/": "https://deno.land/x/fresh@1.6.8/",
+ "preact": "https://esm.sh/preact@10.19.6",
+ "preact/": "https://esm.sh/preact@10.19.6/",
+ "@preact/signals": "https://esm.sh/*@preact/signals@1.2.2",
+ "@preact/signals-core": "https://esm.sh/*@preact/signals-core@1.5.1",
"tailwindcss": "npm:tailwindcss@3.3.5",
"tailwindcss/": "npm:/tailwindcss@3.3.5/",
"tailwindcss/plugin": "npm:/tailwindcss@3.3.5/plugin.js",
"@tailwindcss/typography": "npm:@tailwindcss/typography@0.5.10",
"$std/": "https://deno.land/std@0.208.0/"
},
- "compilerOptions": {
- "jsx": "react-jsx",
- "jsxImportSource": "preact"
- },
+ "compilerOptions": { "jsx": "react-jsx", "jsxImportSource": "preact" },
"nodeModulesDir": true
}
diff --git a/fresh.gen.ts b/fresh.gen.ts
index 5941d80f..caa2bada 100644
--- a/fresh.gen.ts
+++ b/fresh.gen.ts
@@ -6,7 +6,6 @@ import * as $_404 from "./routes/_404.tsx";
import * as $_app from "./routes/_app.tsx";
import * as $_layout from "./routes/_layout.tsx";
import * as $_middleware from "./routes/_middleware.ts";
-import * as $api_joke from "./routes/api/joke.ts";
import * as $index from "./routes/index.tsx";
import * as $notes_slug_ from "./routes/notes/[slug].tsx";
import * as $notes_layout from "./routes/notes/_layout.tsx";
@@ -20,7 +19,6 @@ const manifest = {
"./routes/_app.tsx": $_app,
"./routes/_layout.tsx": $_layout,
"./routes/_middleware.ts": $_middleware,
- "./routes/api/joke.ts": $api_joke,
"./routes/index.tsx": $index,
"./routes/notes/[slug].tsx": $notes_slug_,
"./routes/notes/_layout.tsx": $notes_layout,
diff --git a/routes/_layout.tsx b/routes/_layout.tsx
index ceb611d7..d84159a6 100644
--- a/routes/_layout.tsx
+++ b/routes/_layout.tsx
@@ -1,5 +1,5 @@
import { PageProps } from "$fresh/server.ts";
-export default function Layout({ Component, state }: PageProps) {
+export default function Layout({ Component }: PageProps) {
return