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 alexdriaguine committed Jan 23, 2017
1 parent fe68994 commit 6f00766
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 @@ -321,7 +321,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 6f00766

Please sign in to comment.