Commit f4f3649d authored by Dovydas Navickas's avatar Dovydas Navickas Committed by Tim Neutkens

Update README.md (#6106)

* Update README.md

I know I'm a moron for not understanding what's written in black on white, but... Maybe this will save someone an hour or two 😄

* Apply proposed changed
parent b8057edd
...@@ -1164,7 +1164,7 @@ export default class MyDocument extends Document { ...@@ -1164,7 +1164,7 @@ export default class MyDocument extends Document {
404 or 500 errors are handled both client and server side by a default component `error.js`. If you wish to override it, define a `_error.js` in the pages folder: 404 or 500 errors are handled both client and server side by a default component `error.js`. If you wish to override it, define a `_error.js` in the pages folder:
⚠️ The default `error.js` component is only used in production ⚠️ ⚠️ The `pages/_error.js` component is only used in production. In development you get an error with call stack to know where the error originated from. ⚠️
```jsx ```jsx
import React from 'react' import React from 'react'
......
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