From c66cfb28b58851d78966253632e4ae4620c97ab7 Mon Sep 17 00:00:00 2001 From: zeppi Date: Tue, 19 Oct 2021 13:57:24 -0400 Subject: [PATCH] tip modal no fiat --- static/app-strings.json | 1 + ui/component/router/view.jsx | 4 - ui/component/settingAccount/view.jsx | 35 +- ui/component/walletBalance/view.jsx | 250 +++++----- .../walletFiatAccountHistory/index.js | 3 - .../walletFiatAccountHistory/view.jsx | 77 --- ui/component/walletFiatBalance/index.js | 3 - ui/component/walletFiatBalance/view.jsx | 97 ---- .../walletFiatPaymentBalance/index.js | 3 - .../walletFiatPaymentBalance/view.jsx | 76 --- .../walletFiatPaymentHistory/index.js | 3 - .../walletFiatPaymentHistory/view.jsx | 109 ----- ui/component/walletSendTip/view.jsx | 284 +---------- ui/page/settingsStripeAccount/index.js | 12 - ui/page/settingsStripeAccount/view.jsx | 313 ------------ ui/page/settingsStripeCard/index.js | 23 - ui/page/settingsStripeCard/view.jsx | 444 ------------------ 17 files changed, 135 insertions(+), 1602 deletions(-) delete mode 100644 ui/component/walletFiatAccountHistory/index.js delete mode 100644 ui/component/walletFiatAccountHistory/view.jsx delete mode 100644 ui/component/walletFiatBalance/index.js delete mode 100644 ui/component/walletFiatBalance/view.jsx delete mode 100644 ui/component/walletFiatPaymentBalance/index.js delete mode 100644 ui/component/walletFiatPaymentBalance/view.jsx delete mode 100644 ui/component/walletFiatPaymentHistory/index.js delete mode 100644 ui/component/walletFiatPaymentHistory/view.jsx delete mode 100644 ui/page/settingsStripeAccount/index.js delete mode 100644 ui/page/settingsStripeAccount/view.jsx delete mode 100644 ui/page/settingsStripeCard/index.js delete mode 100644 ui/page/settingsStripeCard/view.jsx diff --git a/static/app-strings.json b/static/app-strings.json index d42de1470..4ba96f4db 100644 --- a/static/app-strings.json +++ b/static/app-strings.json @@ -2193,5 +2193,6 @@ "Trending for #Art": "Trending for #Art", "Trending for #Btc": "Trending for #Btc", "Trending for #Music": "Trending for #Music", + "You sent %lbc% as a tip, Mahalo!": "You sent %lbc% as a tip, Mahalo!", "--end--": "--end--" } diff --git a/ui/component/router/view.jsx b/ui/component/router/view.jsx index 6d42cb2a3..27e6fc0ed 100644 --- a/ui/component/router/view.jsx +++ b/ui/component/router/view.jsx @@ -56,8 +56,6 @@ import RepostNew from 'page/repost'; import RewardsPage from 'page/rewards'; import RewardsVerifyPage from 'page/rewardsVerify'; import SearchPage from 'page/search'; -import SettingsStripeCard from 'page/settingsStripeCard'; -import SettingsStripeAccount from 'page/settingsStripeAccount'; import SettingsCreatorPage from 'page/settingsCreator'; import SettingsNotificationsPage from 'page/settingsNotifications'; @@ -279,8 +277,6 @@ function AppRouter(props: Props) { component={isAuthenticated || !IS_WEB ? ChannelsFollowingPage : DiscoverPage} /> - - {/* @endif */} - {/* @if TARGET='web' */} - {user && getStripeEnvironment() && ( - - - - - - )} - - {/* if the user has already confirmed their card */} - {currentFlowStage === 'cardConfirmed' && ( -
- - -
-
- )} - - ); - } -} - -export default SettingsStripeCard; -/* eslint-enable no-undef */ -/* eslint-enable react/prop-types */