Skip to content

Commit 2365ae2

Browse files
committed
Update server.jsx
1 parent 6e6c01e commit 2365ae2

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

website/server.jsx

+2-7
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,8 @@ import Layout from "./layouts/Layout.jsx";
55

66
const app = new Hono();
77

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>);
8+
app.get("/", (/** @type {import("hono").Context} */ c) => {
9+
return c.html(<Layout />);
1510
});
1611

1712
export default app;

0 commit comments

Comments
 (0)