Skip to content

Commit

Permalink
Remove redundant function from export statement (#996)
Browse files Browse the repository at this point in the history
  • Loading branch information
gnowoel authored and gaearon committed Nov 1, 2016
1 parent b855cc3 commit 79160b8
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 79160b8

Please sign in to comment.