diff --git a/src/hooks/useMenu.tsx b/src/hooks/useMenu.tsx index 784f20f..d36ed22 100644 --- a/src/hooks/useMenu.tsx +++ b/src/hooks/useMenu.tsx @@ -146,7 +146,7 @@ const useMenu = (options: UseMenuOptions = {}): [MenuProps['items'], string] => nextChildrenResult[type].push(child); return nextChildrenResult; }, {}); - const childItems = []; + const childItems: any[] = []; childItems.push( ...childrenGroup.default.map((item) => ({ label: (