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 c8fd8cfe0a..45b293381b 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
@@ -29,7 +29,7 @@ export const FileExplorerMenu = (props: FileExplorerMenuProps) => {
action: 'uploadFile',
title: 'Load a local file into current workspace',
icon: 'fa fa-upload',
- placement: 'bottom-start'
+ placement: 'right'
},
{
action: 'updateGist',
@@ -53,24 +53,42 @@ export const FileExplorerMenu = (props: FileExplorerMenuProps) => {
return (
<>
- { props.title }
+
+ {props.title}
+
+ }
+ >
+ { props.title }
+
{
state.menuItems.map(({ action, title, icon, placement }, index) => {
if (action === 'uploadFile') {
return (
-
+
+
)
} else {
return (
@@ -81,7 +99,6 @@ export const FileExplorerMenu = (props: FileExplorerMenuProps) => {
{title}
}
- key={`${action}-${title}-${index}`}
>
{
}
}}
className={'newFile ' + icon + ' remixui_newFile'}
- key={index}
+ key={`${action}-${title}-${index}`}
>