From a8d4f1744b26d4089565790ced6d290f6629ec80 Mon Sep 17 00:00:00 2001 From: Joseph Izang Date: Wed, 9 Nov 2022 13:43:09 +0100 Subject: [PATCH] fix key prop warning for file explorer menu --- .../workspace/src/lib/components/file-explorer-menu.tsx | 4 +++- libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx | 6 ++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/libs/remix-ui/workspace/src/lib/components/file-explorer-menu.tsx b/libs/remix-ui/workspace/src/lib/components/file-explorer-menu.tsx index 49fc4393ce..511e62bf77 100644 --- a/libs/remix-ui/workspace/src/lib/components/file-explorer-menu.tsx +++ b/libs/remix-ui/workspace/src/lib/components/file-explorer-menu.tsx @@ -70,12 +70,13 @@ export const FileExplorerMenu = (props: FileExplorerMenuProps) => { tooltipId="uploadFileTooltip" tooltipClasses="text-nowrap" tooltipText={title} + key={`index-${action}-${placement}-${icon}`} >