Fix right menu position and a typo

This commit is contained in:
Aj - Thomas
2022-05-04 07:49:29 +02:00
parent 1667ea2754
commit 6769ca701c
3 changed files with 32 additions and 19 deletions

View File

@@ -5,17 +5,12 @@ import { Check, Edit, Trash } from 'tabler-icons-react';
export default function AppShelfMenu(props: any) {
const { name, removeitem: removeItem } = props;
return (
<Menu
style={{
position: 'absolute',
top: 10,
right: 10,
}}
>
<Menu position="right">
<Menu.Label>Settings</Menu.Label>
<Menu.Item
color="primary"
icon={<Edit size={14} />}
// TODO: #2 Add the ability to edit the service.
onClick={() => {
showNotification({
color: 'red',