From 1f8ffe6b14d178b1f482dc9551d58d336e262e42 Mon Sep 17 00:00:00 2001 From: stackchain <30806844+stackchain@users.noreply.github.com> Date: Mon, 23 May 2022 10:29:35 -0400 Subject: [PATCH] fix activity indicator --- legacy/components/Ledger/DeviceItem/DeviceItem.js | 2 +- legacy/components/Ledger/LedgerConnect.js | 2 +- legacy/components/UiKit/PleaseWaitModal.js | 2 +- src/Dashboard/Dashboard.tsx | 2 +- src/Dashboard/StakePoolInfo.tsx | 2 +- src/Receive/AddressVerifyModal.tsx | 2 +- src/SelectedWallet/WalletSelection/WalletSelectionScreen.tsx | 2 +- src/Send/SendScreen/SendScreen.tsx | 2 +- src/WalletInit/WalletCredentials/WalletCredentialsScreen.tsx | 2 +- src/WalletInit/WalletNameForm/WalletNameForm.tsx | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/legacy/components/Ledger/DeviceItem/DeviceItem.js b/legacy/components/Ledger/DeviceItem/DeviceItem.js index ff078d7ac3..3fadcbf9e7 100644 --- a/legacy/components/Ledger/DeviceItem/DeviceItem.js +++ b/legacy/components/Ledger/DeviceItem/DeviceItem.js @@ -25,7 +25,7 @@ export const DeviceItem = ({device, onSelect}: Props) => { return ( {device.name} - {pending ? : null} + {pending ? : null} ) } diff --git a/legacy/components/Ledger/LedgerConnect.js b/legacy/components/Ledger/LedgerConnect.js index d3acf7ffb6..00aa8dfeb1 100644 --- a/legacy/components/Ledger/LedgerConnect.js +++ b/legacy/components/Ledger/LedgerConnect.js @@ -325,7 +325,7 @@ class LedgerConnect extends React.Component { disabled={refreshing || deviceObj == null || waiting} /> )} - {waiting && } + {waiting && } ) } diff --git a/legacy/components/UiKit/PleaseWaitModal.js b/legacy/components/UiKit/PleaseWaitModal.js index 56663046e2..bba98dfc7b 100644 --- a/legacy/components/UiKit/PleaseWaitModal.js +++ b/legacy/components/UiKit/PleaseWaitModal.js @@ -13,7 +13,7 @@ export const PleaseWaitView = ({title, spinnerText}: PleaseWaitViewProps) => ( {title} - + {spinnerText} diff --git a/src/Dashboard/Dashboard.tsx b/src/Dashboard/Dashboard.tsx index 71b0680bda..a5bdcb9589 100644 --- a/src/Dashboard/Dashboard.tsx +++ b/src/Dashboard/Dashboard.tsx @@ -93,7 +93,7 @@ export const Dashboard = () => { {!stakingInfo ? ( - + ) : stakingInfo?.isRegistered ? ( { const {stakePoolInfo, isLoading} = useStakePoolInfo(wallet, stakePoolId) if (isLoading) { - return + return } return stakePoolInfo ? ( diff --git a/src/Receive/AddressVerifyModal.tsx b/src/Receive/AddressVerifyModal.tsx index f1f78145cf..9051240cb1 100644 --- a/src/Receive/AddressVerifyModal.tsx +++ b/src/Receive/AddressVerifyModal.tsx @@ -44,7 +44,7 @@ export const AddressVerifyModal = ({visible, onConfirm, onRequestClose, address,