Unverified Commit ed239c40 authored by Jam Balaya's avatar Jam Balaya Committed by GitHub

docs: update error template.txt (#72263)

## Summary
Update [error
template.txt](https://github.com/vercel/next.js/blob/canary/errors/template.txt)
following #52038 changes.

## Description
1. Remove errorId header
2. Section header is double sharp `##` instead of four sharp `####`

### Adding or Updating Examples

- [x] The "examples guidelines" are followed from our contributing doc
https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md
- [x] Make sure the linting passes by running `pnpm build && pnpm lint`.
See
https://github.com/vercel/next.js/blob/canary/contributing/repository/linting.mdCo-authored-by: 's avatarDelba de Oliveira <32464864+delbaoliveira@users.noreply.github.com>
parent 2d549683
...@@ -2,20 +2,18 @@ ...@@ -2,20 +2,18 @@
title: {{title}} title: {{title}}
--- ---
## `{{errorId}}` ## Why This Error Occurred
#### Why This Error Occurred
<!-- Explain why the error occurred. Ensure the description makes it clear why the warning/error exists --> <!-- Explain why the error occurred. Ensure the description makes it clear why the warning/error exists -->
{{why}} {{why}}
#### Possible Ways to Fix It ## Possible Ways to Fix It
<!-- Explain how to fix the warning/error, potentially by providing alternative approaches. Ensure this section is actionable by users --> <!-- Explain how to fix the warning/error, potentially by providing alternative approaches. Ensure this section is actionable by users -->
{{fix}} {{fix}}
### Useful Links ## Useful Links
<!-- Add links to relevant documentation --> <!-- Add links to relevant documentation -->
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment