From 82b460f53d545df1518551d898500e1dd2f99e3a Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Fri, 23 Oct 2020 14:57:40 -0400 Subject: [PATCH] add back support button on top page --- ui/component/walletSendTip/view.jsx | 5 +++-- ui/page/top/view.jsx | 3 +-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ui/component/walletSendTip/view.jsx b/ui/component/walletSendTip/view.jsx index 6a176d555..94f404572 100644 --- a/ui/component/walletSendTip/view.jsx +++ b/ui/component/walletSendTip/view.jsx @@ -1,4 +1,5 @@ // @flow +import { SIMPLE_SITE } from 'config'; import * as ICONS from 'constants/icons'; import * as PAGES from 'constants/pages'; import React from 'react'; @@ -72,7 +73,7 @@ function WalletSendTip(props: Props) { }, [channelStrings]); const tipAmount = useCustomTip ? customTipAmount : presetTipAmount; - const isSupport = claimIsMine ? true : !sendAsTip; + const isSupport = claimIsMine ? true : SIMPLE_SITE ? false : !sendAsTip; React.useEffect(() => { const regexp = RegExp(/^(\d*([.]\d{0,8})?)$/); @@ -301,7 +302,7 @@ function WalletSendTip(props: Props) { } /> {fetchingChannels && {__('Loading your channels...')}} - {!claimIsMine && !fetchingChannels && ( + {!claimIsMine && !fetchingChannels && !SIMPLE_SITE && ( (