Unverified Commit 20bc731d authored by Hong Minhee's avatar Hong Minhee
Browse files

Fixed a bug of the tutorial

[ci skip]
parent 95c7704c
Loading
Loading
Loading
Loading
+236 −236

File changed.

Preview size limit exceeded, changes collapsed.

+5 −6
Original line number Diff line number Diff line
@@ -4198,7 +4198,7 @@ feature.

First, open the *src/views.tsx* file and modify the `<Home>` component:

~~~~ tsx{3,9} twoslash
~~~~ tsx{1,8} twoslash
import type { FC } from "hono/jsx";
interface User {}
interface Actor {}
@@ -4208,7 +4208,6 @@ const PostList: FC<PostListProps> = () => <></>;
// ---cut-before---
export interface HomeProps extends PostListProps {
  user: User & Actor;
  posts: Post[];
}

export const Home: FC<HomeProps> = ({ user, posts }) => (