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:
parent
fece56a9d9
commit
58fc09b948
@ -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>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user