Skip to content

Commit 6f00766

Browse files
gnowoelalexdriaguine
authored andcommitted
Remove redundant function from export statement (facebook#996)
1 parent fe68994 commit 6f00766

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-scripts/template/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ function Header() {
321321
return <img src={logo} alt="Logo" />;
322322
}
323323

324-
export default function Header;
324+
export default Header;
325325
```
326326

327327
This ensures that when the project is built, Webpack will correctly move the images into the build folder, and provide us with correct paths.

0 commit comments

Comments
 (0)