Skip to content

Commit 79160b8

Browse files
gnowoelgaearon
authored andcommitted
Remove redundant function from export statement (#996)
1 parent b855cc3 commit 79160b8

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
@@ -320,7 +320,7 @@ function Header() {
320320
return <img src={logo} alt="Logo" />;
321321
}
322322

323-
export default function Header;
323+
export default Header;
324324
```
325325

326326
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)