Commit 9333ccd6 authored by Luke Schoen's avatar Luke Schoen
Browse files

review-fix: Remove anon function and just call onClick

parent be4da5df
Pipeline #44393 canceled with stage
......@@ -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>
......
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