From 270f33a5aff23953cc8adacd3f55184404fe78f3 Mon Sep 17 00:00:00 2001 From: kyranjamie Date: Fri, 6 Nov 2020 18:55:31 +0100 Subject: [PATCH] fix: tims form issues, closes #321, #322 --- app/pages/home/home.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/pages/home/home.tsx b/app/pages/home/home.tsx index 7ea30a9..d031d95 100644 --- a/app/pages/home/home.tsx +++ b/app/pages/home/home.tsx @@ -18,7 +18,7 @@ import { selectTransactionListFetchError, } from '@store/transaction'; import { selectPendingTransactions } from '@store/pending-transaction'; -import { selectNextCycleInfo, selectPoxInfo, selectStackerInfo } from '@store/stacking'; +import { selectPoxInfo, selectStackerInfo } from '@store/stacking'; import { homeActions, selectTxModalOpen, selectReceiveModalOpen } from '@store/home'; import { TransactionList, @@ -33,7 +33,6 @@ import { ReceiveStxModal } from '@modals/receive-stx/receive-stx-modal'; import { TransactionListItemPending } from '@components/home/transaction-list/transaction-list-item-pending'; import { HomeLayout } from './home-layout'; -import { Transaction } from '@blockstack/stacks-blockchain-api-types'; export const Home: FC = () => { const dispatch = useDispatch(); @@ -50,11 +49,12 @@ export const Home: FC = () => { receiveModalOpen, activeNode, stackingDetails, - nextCycleInfo, + stackerInfo, } = useSelector((state: RootState) => ({ address: selectAddress(state), txs: selectTransactionList(state), + spendableBalance: selectAvailableBalance(state), pendingTxs: selectPendingTransactions(state), balance: selectAddressBalance(state), txModalOpen: selectTxModalOpen(state),