aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-11-10 08:30:38 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-11-10 08:30:38 +0800
commita8a1ea92a614181ebdf6c738139723f0d5c6da69 (patch)
tree4fde1b83b43e030b90623d26063f0a3430086f14
parentff027ee36a5c2384004c9b55baa42919b5d9fa65 (diff)
downloaddexon-sol-tools-a8a1ea92a614181ebdf6c738139723f0d5c6da69.tar.gz
dexon-sol-tools-a8a1ea92a614181ebdf6c738139723f0d5c6da69.tar.zst
dexon-sol-tools-a8a1ea92a614181ebdf6c738139723f0d5c6da69.zip
fix: no longer refer to error account state
-rw-r--r--packages/instant/src/components/payment_method.tsx1
1 files changed, 0 insertions, 1 deletions
diff --git a/packages/instant/src/components/payment_method.tsx b/packages/instant/src/components/payment_method.tsx
index 27f6383a4..f596c5ad6 100644
--- a/packages/instant/src/components/payment_method.tsx
+++ b/packages/instant/src/components/payment_method.tsx
@@ -45,7 +45,6 @@ export class PaymentMethod extends React.Component<PaymentMethodProps> {
switch (account.state) {
case AccountState.Loading:
return 'loading...';
- case AccountState.Error:
case AccountState.Locked:
case AccountState.None:
return 'connect your wallet';