Skip to content

Commit

Permalink
fix: remove unused docs variable in UserMenu
Browse files Browse the repository at this point in the history
  • Loading branch information
simonseyock committed Sep 2, 2024
1 parent e8988e1 commit d80913c
Showing 1 changed file with 1 addition and 22 deletions.
23 changes: 1 addition & 22 deletions src/components/UserMenu/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,12 @@ import {
faUserCog,
faSignOut,
faSignIn,
faAngleDown,
faCircleQuestion
faAngleDown
} from '@fortawesome/free-solid-svg-icons';
import {
FontAwesomeIcon
} from '@fortawesome/react-fontawesome';

import { Button } from 'antd';
import {
ItemType
} from 'antd/lib/menu/interface';
Expand Down Expand Up @@ -143,25 +141,6 @@ export const UserMenu: React.FC<UserProps> = (): JSX.Element => {
)
};

const docs: ItemType = {
key: 'docs',
icon: (
<FontAwesomeIcon
icon={faCircleQuestion}
/>
),
label: (
<Button
type='text'
className="user-documentation"
aria-label='user-documentation'
onClick={() => window.open('/gis-docs', '_blank')}
>
{t('UserMenu.helpMenuTitle')}
</Button>
)
};

const logout: ItemType = {
key: 'logout',
icon: (
Expand Down

0 comments on commit d80913c

Please sign in to comment.