Skip to content

Commit

Permalink
fix: Remove the notification icon
Browse files Browse the repository at this point in the history
  • Loading branch information
o-jorgensen committed Jan 9, 2025
1 parent 0dcea91 commit 429cae7
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions src/features/AppBar/Icons/Icons.tsx
Original file line number Diff line number Diff line change
@@ -1,20 +1,13 @@
import { useMsal } from '@azure/msal-react';
import { Button, Menu } from '@equinor/eds-core-react';
import {
account_circle as accountCircle,
notifications,
} from '@equinor/eds-icons';
import { account_circle as accountCircle } from '@equinor/eds-icons';
import MenuIcon from '../../../components/MenuIcon/MenuIcon';
import * as Styled from './Icons.styled';

export const Icons = () => {
const { instance } = useMsal();

const icons = {
notifications: {
title: 'Notifications',
data: notifications,
},
userInfo: {
title: 'UserInfo',
data: accountCircle,
Expand All @@ -23,9 +16,6 @@ export const Icons = () => {

return (
<Styled.Icons>
<MenuIcon icon={icons.notifications}>
<Menu.Item>Notifications (Not ready yet)</Menu.Item>
</MenuIcon>
<MenuIcon icon={icons.userInfo}>
<Menu.Section title="Logged in">
<Menu.Item>{instance.getActiveAccount()?.name}</Menu.Item>
Expand Down

0 comments on commit 429cae7

Please sign in to comment.