From 3c49b785c9df8b80fbd4efc4a977a2e500dafbc4 Mon Sep 17 00:00:00 2001 From: Bram Borggreve Date: Tue, 27 Aug 2024 19:09:33 +0100 Subject: [PATCH] refactor: remove settings link from sidebar --- libs/web/core/feature/src/lib/web-core-layout.tsx | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/libs/web/core/feature/src/lib/web-core-layout.tsx b/libs/web/core/feature/src/lib/web-core-layout.tsx index 49b0e48..82c40b4 100644 --- a/libs/web/core/feature/src/lib/web-core-layout.tsx +++ b/libs/web/core/feature/src/lib/web-core-layout.tsx @@ -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 }) { @@ -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 } }}