diff --git a/libs/remix-ui/home-tab/src/lib/remix-ui-home-tab.tsx b/libs/remix-ui/home-tab/src/lib/remix-ui-home-tab.tsx index 83f42fce19..73bd4f0357 100644 --- a/libs/remix-ui/home-tab/src/lib/remix-ui-home-tab.tsx +++ b/libs/remix-ui/home-tab/src/lib/remix-ui-home-tab.tsx @@ -126,6 +126,7 @@ export const RemixUiHomeTab = (props: RemixUiHomeTabProps) => { } const createNewFile = async () => { + plugin.verticalIcons.select('filePanel') await plugin.call('filePanel', 'createNewFile') } @@ -262,21 +263,22 @@ export const RemixUiHomeTab = (props: RemixUiHomeTabProps) => {

File

- createNewFile()}>New File +

- + + + { + event.stopPropagation() + plugin.verticalIcons.select('filePanel') + uploadFile(event.target) + }} multiple />

- connectToLocalhost()}>Connect to Localhost +

@@ -302,7 +304,7 @@ export const RemixUiHomeTab = (props: RemixUiHomeTabProps) => {

- switchToPreviousVersion()}>Old experience +