From f4384a2d3dc24b4c9a6fe1486229f954ee9fbbdf Mon Sep 17 00:00:00 2001 From: Filipe Medeiros Date: Sat, 27 Nov 2021 18:21:21 +0000 Subject: [PATCH] fix: build --- components/BottomMenu.tsx | 5 ----- components/RecentTransactions.tsx | 6 ++--- lib/biometrics.ts | 6 ++--- lib/decryptSeed.ts | 7 +++--- lib/hooks/useMounted.ts | 11 --------- lib/hooks/useReceiveNano.ts | 13 +++++++---- lib/hooks/useSendNano.ts | 19 ++++++++++++---- lib/hooks/useSetupAccounts.ts | 37 ------------------------------- lib/hooks/useSetupSeed.ts | 12 ++++++++-- package.json | 6 ++--- pages/send/index.tsx | 2 +- 11 files changed, 47 insertions(+), 77 deletions(-) delete mode 100644 lib/hooks/useMounted.ts delete mode 100644 lib/hooks/useSetupAccounts.ts diff --git a/components/BottomMenu.tsx b/components/BottomMenu.tsx index e5db944..fb9616c 100644 --- a/components/BottomMenu.tsx +++ b/components/BottomMenu.tsx @@ -176,11 +176,6 @@ const BottomMenu: FC = ({ className }) => { diff --git a/components/RecentTransactions.tsx b/components/RecentTransactions.tsx index 9ee7bca..e4813ec 100644 --- a/components/RecentTransactions.tsx +++ b/components/RecentTransactions.tsx @@ -29,9 +29,7 @@ const mockAddressBook: Record = { } const RecentTransactions: FC = ({ className }) => { - const account = useAccount() - - const receiveNano = useReceiveNano() + const { receive } = useReceiveNano() return (
@@ -62,7 +60,7 @@ const RecentTransactions: FC = ({ className }) => { >