Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Meta
create-react-app
Commits
79160b85
Commit
79160b85
authored
8 years ago
by
Leo Wong
Committed by
Dan Abramov
8 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Remove redundant `function` from export statement (#996)
parent
b855cc36
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
packages/react-scripts/template/README.md
+1
-1
packages/react-scripts/template/README.md
with
1 addition
and
1 deletion
+1
-1
packages/react-scripts/template/README.md
+
1
-
1
View file @
79160b85
...
...
@@ -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.
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets