diff --git a/.vscode/settings.json b/.vscode/settings.json index 11ad0a3..1381a79 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,9 +1,8 @@ { "deno.enable": true, - "deno.inlayHints.variableTypes.enabled": false, - "deno.inlayHints.parameterNames.enabled": "none", - "deno.inlayHints.parameterTypes.enabled": false, - "deno.inlayHints.functionLikeReturnTypes.enabled": false, "editor.defaultFormatter": "denoland.vscode-deno", - "editor.formatOnSave": true + "editor.formatOnSave": true, + "[typescriptreact]": { + "editor.defaultFormatter": "denoland.vscode-deno" + } } diff --git a/fresh.gen.ts b/fresh.gen.ts index 5c67d6d..483af2d 100644 --- a/fresh.gen.ts +++ b/fresh.gen.ts @@ -22,6 +22,8 @@ import * as $posts_new from "./routes/posts/new.tsx"; import * as $search from "./routes/search.tsx"; import * as $settings from "./routes/settings.tsx"; import * as $signout from "./routes/signout.ts"; +import * as $sitemap_userId_ from "./routes/sitemap/[userId].tsx"; +import * as $sitemap_index from "./routes/sitemap/index.tsx"; import * as $users_userId_ from "./routes/users/[userId].tsx"; import * as $AllPosts from "./islands/AllPosts.tsx"; import * as $DeleteAccount from "./islands/DeleteAccount.tsx"; @@ -57,6 +59,8 @@ const manifest = { "./routes/search.tsx": $search, "./routes/settings.tsx": $settings, "./routes/signout.ts": $signout, + "./routes/sitemap/[userId].tsx": $sitemap_userId_, + "./routes/sitemap/index.tsx": $sitemap_index, "./routes/users/[userId].tsx": $users_userId_, }, islands: { diff --git a/routes/_app.tsx b/routes/_app.tsx index 0c44918..fd0880b 100644 --- a/routes/_app.tsx +++ b/routes/_app.tsx @@ -1,6 +1,6 @@ -import { AppProps } from "$fresh/server.ts"; +import { PageProps } from "$fresh/server.ts"; -export default function App({ Component }: AppProps) { +export default function App({ Component }: PageProps) { return (
@@ -20,7 +20,7 @@ export default function App({ Component }: AppProps) { { - /* + /*