1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Update src/renderer/components/layout/main-layout-header.tsx

Co-authored-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Alex Culliere <alozhkin@mirantis.com>
This commit is contained in:
Alex 2021-03-19 16:33:35 +02:00 committed by Alex Culliere
parent fece56a9d9
commit 58fc09b948

View File

@ -13,7 +13,8 @@ interface Props {
export const MainLayoutHeader = observer(({ cluster, className }: Props) => {
const actions = ClusterActions(cluster);
const renderMenu = () => <MenuActions autoCloseOnSelect className="ClusterActionsMenu">
const renderMenu = () => (
<MenuActions autoCloseOnSelect className="ClusterActionsMenu">
<MenuItem onClick={actions.showSettings}>
<span>Settings</span>
</MenuItem>