We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e6c01e commit 2365ae2Copy full SHA for 2365ae2
website/server.jsx
@@ -5,13 +5,8 @@ import Layout from "./layouts/Layout.jsx";
5
6
const app = new Hono();
7
8
-/**
9
- * Handles GET requests for the root route "/"
10
- * @param {import("hono").Context} c - The Hono context object
11
- * @returns {Response} The HTML response using the Layout component
12
- */
13
-app.get("/", (c) => {
14
- return c.html(<Layout></Layout>);
+app.get("/", (/** @type {import("hono").Context} */ c) => {
+ return c.html(<Layout />);
15
});
16
17
export default app;
0 commit comments