We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9beac1d commit 6931dd3Copy full SHA for 6931dd3
src/utils/appsMenu/appsMenu.ts
@@ -16,7 +16,7 @@ import { CHAIN_ID } from 'src/constants/config';
16
const getMenuItems = () => {
17
const listItemMenu = [
18
{
19
- name: 'My robot',
+ name: 'robot',
20
icon: robot,
21
to: '/robot',
22
subItems: [
src/utils/findApp.ts
@@ -10,8 +10,8 @@ const findApp = (menuItems: MenuItems, url: string) => {
10
if (item.to === url) {
11
acc.push(item);
12
} else if (findSubItemFc(item.subItems, url).length !== 0) {
13
- const findSubItem = findSubItemFc(item.subItems, url);
14
- acc.push({ ...item, name: findSubItem[0].name });
+ // const findSubItem = findSubItemFc(item.subItems, url);
+ acc.push(item);
15
}
return acc;
}, []);
0 commit comments