Skip to content

Commit

Permalink
Remove redundant function from export statement (facebook#996)
Browse files Browse the repository at this point in the history
  • Loading branch information
gnowoel authored and jarlef committed Nov 28, 2016
1 parent 7c72e36 commit 2ac57bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-scripts/template/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ function Header() {
return <img src={logo} alt="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.
Expand Down

0 comments on commit 2ac57bd

Please sign in to comment.