0
0
mirror of https://github.com/honojs/hono.git synced 2024-11-30 11:20:41 +01:00

fix(typo) JSX README (#328)

This commit is contained in:
唯岸 雪 2022-06-20 15:40:19 +09:00 committed by GitHub
parent 1de0305f3c
commit 02e32bdd3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,7 +51,7 @@ const Top = (props: { messages: string[] }) => {
app.get('/', (c) => {
const messages = ['Good Morning', 'Good Evening', 'Good Night']
return c.htm(<Top messages={messages} />)
return c.html(<Top messages={messages} />)
})
app.fire()