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.