diff --git a/src/features/menu/index.tsx b/src/features/menu/index.tsx index ac31832..176b0f3 100644 --- a/src/features/menu/index.tsx +++ b/src/features/menu/index.tsx @@ -75,7 +75,7 @@ const useMenu = () => { return context; } -type ItemProps any> = { label: string, children: JSX.Element, command: undefined } | { command: CommandType }; +type ItemProps any> = { label: string, children: JSX.Element, command?: undefined } | { command: CommandType }; function Item any>(props: ItemProps) { const id = createUniqueId();