Skip to content

Commit

Permalink
fix(menu-list): remove unnecessary menu items
Browse files Browse the repository at this point in the history
  • Loading branch information
sijav committed Oct 6, 2023
1 parent 1482b6a commit 7c660a7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 16 deletions.
4 changes: 2 additions & 2 deletions src/locales/de_DE/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ msgstr "In die Zwischenablage kopiert!"
msgid "Copy"
msgstr "Kopieren"

#: src/shared/layouts/panel-layout/menuList.tsx:29
#: src/shared/layouts/panel-layout/menuList.tsx:27
msgid "Dashboard"
msgstr "Dashboard"

Expand Down Expand Up @@ -95,7 +95,7 @@ msgstr "Öffene die Schublade"
msgid "Or"
msgstr "Oder"

#: src/shared/layouts/panel-layout/menuList.tsx:47
#: src/shared/layouts/panel-layout/menuList.tsx:35
msgid "Panel Setup"
msgstr "Panel Setup"

Expand Down
4 changes: 2 additions & 2 deletions src/locales/en_US/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ msgstr "Copied to Clipboard!"
msgid "Copy"
msgstr "Copy"

#: src/shared/layouts/panel-layout/menuList.tsx:29
#: src/shared/layouts/panel-layout/menuList.tsx:27
msgid "Dashboard"
msgstr "Dashboard"

Expand Down Expand Up @@ -95,7 +95,7 @@ msgstr "Open drawer"
msgid "Or"
msgstr "Or"

#: src/shared/layouts/panel-layout/menuList.tsx:47
#: src/shared/layouts/panel-layout/menuList.tsx:35
msgid "Panel Setup"
msgstr "Panel Setup"

Expand Down
12 changes: 0 additions & 12 deletions src/shared/layouts/panel-layout/menuList.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import { Trans } from '@lingui/macro'
import { SvgIconComponent } from '@mui/icons-material'
import DashboardIcon from '@mui/icons-material/Dashboard'
import InboxIcon from '@mui/icons-material/Inbox'
import MailIcon from '@mui/icons-material/Mail'
import SettingsIcon from '@mui/icons-material/Settings'
import { ComponentType, ReactNode } from 'react'

Expand Down Expand Up @@ -30,16 +28,6 @@ export const menuList: MenuListItem[] = [
route: '/',
Icon: DashboardIcon,
},
{
name: 'Inbox',
route: '/inbox',
Icon: InboxIcon,
},
{
name: 'Mail',
route: '/mail',
Icon: MailIcon,
},
]

export const bottomMenuList = [
Expand Down

0 comments on commit 7c660a7

Please sign in to comment.