diff --git a/libs/remix-ui/workspace/src/lib/components/file-explorer-context-menu.tsx b/libs/remix-ui/workspace/src/lib/components/file-explorer-context-menu.tsx index b1554a0a89..d4b209c98d 100644 --- a/libs/remix-ui/workspace/src/lib/components/file-explorer-context-menu.tsx +++ b/libs/remix-ui/workspace/src/lib/components/file-explorer-context-menu.tsx @@ -80,8 +80,9 @@ export const FileExplorerContextMenu = (props: FileExplorerContextMenuProps) => return acc; }, []) console.log(groupedActions) + let key = -1 return groupedActions.map((groupItem, groupIndex) => groupItem.map((item, index) => { - const key = groupIndex*index + key++ const className = `remixui_liitem ${group !== item.group ? 'border-top': ''}` group = item.group if(item.name === "Upload File"){