From 2ac57bdcab866bb819bebfba4953512909715f1f Mon Sep 17 00:00:00 2001 From: Leo Wong Date: Tue, 1 Nov 2016 21:56:29 +0800 Subject: [PATCH] Remove redundant `function` from export statement (#996) --- packages/react-scripts/template/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-scripts/template/README.md b/packages/react-scripts/template/README.md index 788f77e7805..3203c5fcbb9 100644 --- a/packages/react-scripts/template/README.md +++ b/packages/react-scripts/template/README.md @@ -320,7 +320,7 @@ function Header() { return Logo; } -export default function Header; +export default Header; ``` This ensures that when the project is built, Webpack will correctly move the images into the build folder, and provide us with correct paths.