Commit 79160b85 authored by Leo Wong's avatar Leo Wong Committed by Dan Abramov
Browse files

Remove redundant `function` from export statement (#996)

parent b855cc36
No related merge requests found
Showing with 1 addition and 1 deletion
+1 -1
...@@ -320,7 +320,7 @@ function Header() { ...@@ -320,7 +320,7 @@ function Header() {
return <img src={logo} alt="Logo" />; 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. This ensures that when the project is built, Webpack will correctly move the images into the build folder, and provide us with correct paths.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment