Skip to content

Commit

Permalink
chore: fixing build error by reverting the changes in notification mo…
Browse files Browse the repository at this point in the history
…dule
  • Loading branch information
sandeep-deriv committed Sep 24, 2024
1 parent 5d61fca commit aae0834
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
3 changes: 0 additions & 3 deletions src/components/layout/header/Notifications/index.ts

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { useTranslations } from '@deriv-com/translations';
import { Notifications as UINotifications, Tooltip, useDevice } from '@deriv-com/ui';
import './notifications.scss';

const Notifications = () => {
export const Notifications = () => {
const [isOpen, setIsOpen] = useState(false);
const { localize } = useTranslations();
const { isMobile } = useDevice();
Expand Down Expand Up @@ -41,5 +41,3 @@ const Notifications = () => {
</div>
);
};

export default Notifications;
2 changes: 1 addition & 1 deletion src/components/layout/header/header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import AccountsInfoLoader from './account-info-loader';
import AccountSwitcher from './account-switcher';
import MenuItems from './menu-items';
import MobileMenu from './mobile-menu';
import Notifications from './notifications';
import { Notifications } from './notifications';
import PlatformSwitcher from './platform-switcher';
import './header.scss';

Expand Down

0 comments on commit aae0834

Please sign in to comment.