Skip to content

Commit

Permalink
docs(typo): fix redundant double spaces (#71137)
Browse files Browse the repository at this point in the history
## 📚 Improving Documentation

Hello, I've fixed redundant double spaces in
`docs/02-app/02-api-reference/02-file-conventions/loading.mdx` and
`docs/02-app/02-api-reference/02-file-conventions/route.mdx`.

Co-authored-by: JJ Kasper <jj@jjsweb.site>
  • Loading branch information
lumirlumir and ijjk authored Oct 11, 2024
1 parent ce98a9a commit 1235199
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: loading.js
description: API reference for the loading.js file.
description: API reference for the loading.js file.
---

A **loading** file can create instant loading states built on [Suspense](/docs/app/building-your-application/routing/loading-ui-and-streaming).
Expand Down
4 changes: 2 additions & 2 deletions docs/02-app/02-api-reference/02-file-conventions/route.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export async function DELETE(request: Request) {}

export async function PATCH(request: Request) {}

// If `OPTIONS` is not defined, Next.js will automatically implement `OPTIONS` and set the appropriate Response `Allow` header depending on the other methods defined in the route handler.
// If `OPTIONS` is not defined, Next.js will automatically implement `OPTIONS` and set the appropriate Response `Allow` header depending on the other methods defined in the route handler.
export async function OPTIONS(request: Request) {}
```

Expand All @@ -39,7 +39,7 @@ export async function DELETE(request) {}

export async function PATCH(request) {}

// If `OPTIONS` is not defined, Next.js will automatically implement `OPTIONS` and set the appropriate Response `Allow` header depending on the other methods defined in the route handler.
// If `OPTIONS` is not defined, Next.js will automatically implement `OPTIONS` and set the appropriate Response `Allow` header depending on the other methods defined in the route handler.
export async function OPTIONS(request) {}
```

Expand Down

0 comments on commit 1235199

Please sign in to comment.