From f92bd6b42fdbd261de91dc2b126b9054066b02b9 Mon Sep 17 00:00:00 2001 From: Joseph Izang Date: Wed, 9 Nov 2022 14:33:13 +0100 Subject: [PATCH] fix faulty key prop for dropdown item --- libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx b/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx index 608de535cd..c0546ca726 100644 --- a/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx +++ b/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx @@ -523,7 +523,8 @@ export function Workspace () { , ] - + let menuLength = workspaceMenuIcons.length + let count = 0 return (
@@ -567,10 +568,10 @@ export function Workspace () { icon={'fas fa-bars'} > - { + { workspaceMenuIcons.map(m => { return ( - + {m} )