@@ -85,7 +91,7 @@ export default function Post() {
+
{posts.map((post) => (
))}
diff --git a/app/routes/blog.tsx b/app/routes/blog.tsx
index 2e8f139..4751668 100644
--- a/app/routes/blog.tsx
+++ b/app/routes/blog.tsx
@@ -1,8 +1,5 @@
import type { MetaFunction } from "@remix-run/node";
-import { Link } from "@remix-run/react";
import { Outlet } from "react-router-dom";
-import { LinkWrapper } from "~/components/LinkWrapper";
-import { useMatch } from "~/hooks/useMatch";
export const meta: MetaFunction = () => {
return [
@@ -21,13 +18,8 @@ export const meta: MetaFunction = () => {
};
export default function BlogLayout() {
- const { handle } = useMatch();
-
return (
-
-
- {handle.text}
-
+
);
diff --git a/package.json b/package.json
index 40a840c..34cfa71 100644
--- a/package.json
+++ b/package.json
@@ -8,7 +8,8 @@
"start": "remix-serve ./build/server/index.js",
"typecheck": "tsc",
"lint": "biome lint",
- "format": "biome format --write"
+ "format": "biome format --write",
+ "routes": "remix routes"
},
"dependencies": {
"@code-hike/mdx": "0.9.0",