From b616deb6ef75c22a9d8efeaac42472ce464e1d3d Mon Sep 17 00:00:00 2001 From: zeppi Date: Tue, 17 Aug 2021 14:46:30 -0400 Subject: [PATCH] wallet tabs --- ui/page/wallet/view.jsx | 143 ++++++++++++++++++++-------------------- 1 file changed, 73 insertions(+), 70 deletions(-) diff --git a/ui/page/wallet/view.jsx b/ui/page/wallet/view.jsx index 4322275a1..d056e74d9 100644 --- a/ui/page/wallet/view.jsx +++ b/ui/page/wallet/view.jsx @@ -159,77 +159,80 @@ const WalletPage = (props: Props) => { return ( <> - {/* @if TARGET='web' */} - - - - {__('LBRY Credits')} - {__('Account History')} - {__('Payment History')} - - - -
-
- {/* if the transactions are loading */} - {loading && ( -
- -
- )} - {/* when the transactions are finished loading */} - {!loading && ( - <> - {showIntro ? ( - - ) : ( -
- - -
- )} - - )} + {stripeEnvironment && ( + + + + {__('LBRY Credits')} + {__('Account History')} + {__('Payment History')} + + + +
+
+ {/* if the transactions are loading */} + {loading && ( +
+ +
+ )} + {/* when the transactions are finished loading */} + {!loading && ( + <> + {showIntro ? ( + + ) : ( +
+ + +
+ )} + + )} +
-
- - -
- - -
-
- -
- - -
-
- - - - {/* @endif */} - {/* @if TARGET='app' */} - - {loading && ( -
- -
- )} - {!loading && ( - <> - {showIntro ? ( - - ) : ( -
- - -
- )} - - )} -
- {/* @endif */} + + +
+ + +
+
+ +
+ + +
+
+ + + + )} + {!stripeEnvironment && ( + + {loading && ( +
+ +
+ )} + {!loading && ( + <> + {showIntro ? ( + + ) : ( +
+ + +
+ )} + + )} +
+ )} ); };