Skip to content

Commit

Permalink
fix: small typo (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
azukiazusa1 authored Feb 12, 2024
1 parent af6c6ed commit 035f122
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ The `_renderer.tsx` is applied under each directory, and the `app/routes/posts/_

### Not Found page

You can write a custom Not Found page in `_404.tx`.
You can write a custom Not Found page in `_404.tsx`.

```tsx
// app/routes/_404.tsx
Expand All @@ -222,10 +222,10 @@ export default handler

### Error Page

You can write a custom Error page in `_error.tx`.
You can write a custom Error page in `_error.tsx`.

```tsx
// app/routes/_error.ts
// app/routes/_error.tsx
import { ErrorHandler } from 'hono'

const handler: ErrorHandler = (e, c) => {
Expand Down

0 comments on commit 035f122

Please sign in to comment.