Skip to content

Commit

Permalink
Update server.jsx
Browse files Browse the repository at this point in the history
  • Loading branch information
mashaal committed Oct 28, 2024
1 parent 6e6c01e commit 2365ae2
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions website/server.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,8 @@ import Layout from "./layouts/Layout.jsx";

const app = new Hono();

/**
* Handles GET requests for the root route "/"
* @param {import("hono").Context} c - The Hono context object
* @returns {Response} The HTML response using the Layout component
*/
app.get("/", (c) => {
return c.html(<Layout></Layout>);
app.get("/", (/** @type {import("hono").Context} */ c) => {
return c.html(<Layout />);
});

export default app;

0 comments on commit 2365ae2

Please sign in to comment.