From 7074987a642bb40703d6080961df7cec73734c9b Mon Sep 17 00:00:00 2001 From: zeppi Date: Tue, 17 Aug 2021 16:57:31 -0400 Subject: [PATCH] getClaimTypeText --- ui/component/walletSendTip/view.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/component/walletSendTip/view.jsx b/ui/component/walletSendTip/view.jsx index f473ec736..2167f2e62 100644 --- a/ui/component/walletSendTip/view.jsx +++ b/ui/component/walletSendTip/view.jsx @@ -152,7 +152,7 @@ function WalletSendTip(props: Props) { const [activeTab, setActiveTab] = React.useState(claimIsMine ? TAB_BOOST : TAB_LBC); - function setClaimTypeText() { + function getClaimTypeText() { if (claim.value_type === 'stream') { return __('Content'); } else if (claim.value_type === 'channel') { @@ -165,7 +165,7 @@ function WalletSendTip(props: Props) { return __('Claim'); } } - const claimTypeText = setClaimTypeText(); + const claimTypeText = getClaimTypeText(); let iconToUse; let explainerText = '';