From 5a4083a59a89bc08d4c020b2cc9ae7bacc9f87e9 Mon Sep 17 00:00:00 2001 From: JayJay1024 Date: Fri, 24 May 2024 10:04:45 +0800 Subject: [PATCH] Enhance tx notify --- packages/xtoken-ui/src/app/layout.tsx | 9 +- .../src/components/transaction-status.tsx | 8 +- .../src/components/transfer-action.tsx | 133 -------- .../xtoken-ui/src/components/transfer-v2.tsx | 4 +- packages/xtoken-ui/src/components/user.tsx | 40 +-- .../xtoken-ui/src/components/wrap-unwrap.tsx | 4 +- packages/xtoken-ui/src/hooks/index.ts | 1 - packages/xtoken-ui/src/hooks/use-transfer.ts | 4 - .../src/providers/transfer-provider.tsx | 302 ------------------ packages/xtoken-ui/src/utils/notification.tsx | 6 +- 10 files changed, 16 insertions(+), 495 deletions(-) delete mode 100644 packages/xtoken-ui/src/components/transfer-action.tsx delete mode 100644 packages/xtoken-ui/src/hooks/use-transfer.ts delete mode 100644 packages/xtoken-ui/src/providers/transfer-provider.tsx diff --git a/packages/xtoken-ui/src/app/layout.tsx b/packages/xtoken-ui/src/app/layout.tsx index 4a02302..6bb9523 100644 --- a/packages/xtoken-ui/src/app/layout.tsx +++ b/packages/xtoken-ui/src/app/layout.tsx @@ -6,7 +6,6 @@ import Header from "@/components/header"; import RainbowProvider from "@/providers/rainbow-provider"; import GraphqlProvider from "@/providers/graphql-provider"; import AppProvider from "@/providers/app-provider"; -import TransferProvider from "@/providers/transfer-provider"; const ibm_plex_sans = IBM_Plex_Sans({ subsets: ["latin", "latin-ext"], @@ -25,11 +24,9 @@ export default function RootLayout({ children }: { children: React.ReactNode }) - -
- {children} - {/*