Skip to content

Commit

Permalink
refactor: remove settings link from sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
beeman committed Aug 27, 2024
1 parent 04e7e1c commit 3c49b78
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions libs/web/core/feature/src/lib/web-core-layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,7 @@ import { Group } from '@mantine/core'
import { useDisclosure } from '@mantine/hooks'
import { UiLoader } from '@pubkey-ui/core'
import { WalletMultiIcon } from '@pubkeyapp/wallet-adapter-mantine-ui'
import {
IconChairDirector,
IconCheckupList,
IconCube,
IconHelp,
IconSettings,
IconShield,
IconUsersGroup,
} from '@tabler/icons-react'
import { IconChairDirector, IconCheckupList, IconCube, IconHelp, IconShield, IconUsersGroup } from '@tabler/icons-react'
import { ReactNode, Suspense, useMemo } from 'react'

export function WebCoreLayout({ children }: { children: ReactNode }) {
Expand Down Expand Up @@ -60,10 +52,7 @@ export function WebCoreLayout({ children }: { children: ReactNode }) {
{ link: '/reviews', label: 'My reviews', icon: IconCheckupList },
]}
linksMiddle={links}
linksBottom={[
{ link: `/faq`, label: 'FAQ', icon: IconHelp },
{ link: `/settings`, label: 'Settings', icon: IconSettings },
]}
linksBottom={[{ link: `/faq`, label: 'FAQ', icon: IconHelp }]}
/>
}
navbarConfig={{ collapsed: { mobile: !opened } }}
Expand Down

0 comments on commit 3c49b78

Please sign in to comment.