From 3e9a6fa0d6cbfd6514ec5fe90b9eec8219902601 Mon Sep 17 00:00:00 2001 From: Brandon Curtis Date: Fri, 31 Jul 2020 07:03:09 -0700 Subject: [PATCH] add reminder to connect wallet in deposit flow --- src/components/deposit/Start.js | 7 ++++++- src/components/redemption/Start.js | 2 +- src/wrappers/loadable.js | 4 ++-- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/src/components/deposit/Start.js b/src/components/deposit/Start.js index e9e767c2..812be082 100644 --- a/src/components/deposit/Start.js +++ b/src/components/deposit/Start.js @@ -49,7 +49,12 @@ const Start = ({ Step 1/5
- { error ? 'Error getting available lot sizes' : 'Select Lot Size' } + { typeof account === 'undefined' + ? 'Connect Wallet to Continue' + : (error + ? 'Error getting available lot sizes' + : 'Select Lot Size') + }

diff --git a/src/components/redemption/Start.js b/src/components/redemption/Start.js index 55d893d3..a82da286 100644 --- a/src/components/redemption/Start.js +++ b/src/components/redemption/Start.js @@ -93,7 +93,7 @@ class Start extends Component { Step 1/6
- Redeem bond + Redeem Bond

diff --git a/src/wrappers/loadable.js b/src/wrappers/loadable.js index 5fc4f413..4c34558c 100644 --- a/src/wrappers/loadable.js +++ b/src/wrappers/loadable.js @@ -31,7 +31,7 @@ function LoadableBase({ children, restoreDepositState, restoreRedemptionState, r if(!depositStateRestored) { return
-

Loading...

+

Connect Wallet to Continue

@@ -53,4 +53,4 @@ const mapDispatchToProps = (dispatch) => { const Loadable = connect(null, mapDispatchToProps)(LoadableBase) -export default Loadable \ No newline at end of file +export default Loadable