diff --git a/src/utils/appsMenu/appsMenu.ts b/src/utils/appsMenu/appsMenu.ts index 9eced08c8..7a8e2fc96 100644 --- a/src/utils/appsMenu/appsMenu.ts +++ b/src/utils/appsMenu/appsMenu.ts @@ -16,7 +16,7 @@ import { CHAIN_ID } from 'src/constants/config'; const getMenuItems = () => { const listItemMenu = [ { - name: 'My robot', + name: 'robot', icon: robot, to: '/robot', subItems: [ diff --git a/src/utils/findApp.ts b/src/utils/findApp.ts index db8cb652b..0626be88c 100644 --- a/src/utils/findApp.ts +++ b/src/utils/findApp.ts @@ -10,8 +10,8 @@ const findApp = (menuItems: MenuItems, url: string) => { if (item.to === url) { acc.push(item); } else if (findSubItemFc(item.subItems, url).length !== 0) { - const findSubItem = findSubItemFc(item.subItems, url); - acc.push({ ...item, name: findSubItem[0].name }); + // const findSubItem = findSubItemFc(item.subItems, url); + acc.push(item); } return acc; }, []);