diff --git a/libs/remix-ui/home-tab/src/lib/components/homeTabFile.tsx b/libs/remix-ui/home-tab/src/lib/components/homeTabFile.tsx index 4e2d221a3d2..81bde5437e4 100644 --- a/libs/remix-ui/home-tab/src/lib/components/homeTabFile.tsx +++ b/libs/remix-ui/home-tab/src/lib/components/homeTabFile.tsx @@ -127,7 +127,7 @@ function HomeTabFile({ plugin }: HomeTabFileProps) { plugin.verticalIcons.select('filePanel') } - const handleSwichToRecentWorkspace = async (e, workspaceName) => { + const handleSwitchToRecentWorkspace = async (e, workspaceName) => { e.preventDefault() plugin.call('sidePanel', 'showContent', 'filePanel') plugin.verticalIcons.select('filePanel') @@ -146,17 +146,17 @@ function HomeTabFile({ plugin }: HomeTabFileProps) { Recent Workspaces {state.recentWorkspaces[0] && state.recentWorkspaces[0] !== '' && ( - handleSwichToRecentWorkspace(e, state.recentWorkspaces[0])}> + handleSwitchToRecentWorkspace(e, state.recentWorkspaces[0])}> {state.recentWorkspaces[0]} )} {state.recentWorkspaces[1] && state.recentWorkspaces[1] !== '' && ( - handleSwichToRecentWorkspace(e, state.recentWorkspaces[1])}> + handleSwitchToRecentWorkspace(e, state.recentWorkspaces[1])}> {state.recentWorkspaces[1]} )} {state.recentWorkspaces[2] && state.recentWorkspaces[2] !== '' && ( - handleSwichToRecentWorkspace(e, state.recentWorkspaces[2])}> + handleSwitchToRecentWorkspace(e, state.recentWorkspaces[2])}> {state.recentWorkspaces[2]} )}