From 8c3b2e313f11adfb10568a19467ddfc895d1c69a Mon Sep 17 00:00:00 2001 From: chambaz Date: Fri, 15 Nov 2024 11:14:31 -0500 Subject: [PATCH] chore: remove old notifications component --- .../common/Notifications/Notifications.tsx | 20 ------------------- .../components/common/Notifications/index.ts | 1 - 2 files changed, 21 deletions(-) delete mode 100644 apps/marginfi-v2-ui/src/components/common/Notifications/Notifications.tsx delete mode 100644 apps/marginfi-v2-ui/src/components/common/Notifications/index.ts diff --git a/apps/marginfi-v2-ui/src/components/common/Notifications/Notifications.tsx b/apps/marginfi-v2-ui/src/components/common/Notifications/Notifications.tsx deleted file mode 100644 index 280ab51933..0000000000 --- a/apps/marginfi-v2-ui/src/components/common/Notifications/Notifications.tsx +++ /dev/null @@ -1,20 +0,0 @@ -import "@dialectlabs/react-ui/index.css"; - -import { DialectSolanaSdk } from "@dialectlabs/react-sdk-blockchain-solana"; -import { NotificationsButton } from "@dialectlabs/react-ui"; -import { useWallet } from "~/components/wallet-v2/hooks/use-wallet.hook"; -import generalConfig from "~/config"; - -export const DialectNotification = () => { - const { wallet } = useWallet(); - - if (!generalConfig.dialectDappAddress) { - return null; - } - - return ( - - - - ); -}; diff --git a/apps/marginfi-v2-ui/src/components/common/Notifications/index.ts b/apps/marginfi-v2-ui/src/components/common/Notifications/index.ts deleted file mode 100644 index d40ad1e15e..0000000000 --- a/apps/marginfi-v2-ui/src/components/common/Notifications/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from "./Notifications";