From 1b5e724d31fe1eac53a7a2469aeea6856d088bf1 Mon Sep 17 00:00:00 2001 From: Fabio Espinosa Date: Fri, 30 Jun 2017 00:49:16 -0500 Subject: [PATCH] Update readme.md (#2412) The _error.js works only if it is in the /pages folder --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 966cbd0a..7bb431c8 100644 --- a/readme.md +++ b/readme.md @@ -755,7 +755,7 @@ __Note: React-components outside of `
` will not be initialised by the br ### Custom error handling -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`: +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: ```jsx import React from 'react'