Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
parity
fether
Commits
9333ccd6
Commit
9333ccd6
authored
Jan 20, 2019
by
Luke Schoen
Browse files
review-fix: Remove anon function and just call onClick
parent
be4da5df
Pipeline
#44393
canceled with stage
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
packages/fether-ui/src/MenuPopup/MenuPopup.js
View file @
9333ccd6
...
...
@@ -16,7 +16,7 @@ export const MenuPopup = ({ menuItems, ...otherProps }) => (
<
div
className
=
'
popup-screen_item
'
key
=
{
item
.
name
}
onClick
=
{
()
=>
item
.
onClick
}
onClick
=
{
item
.
onClick
}
>
{
item
.
name
}
<
/div
>
...
...
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