getClaimTypeText
This commit is contained in:
parent
c6cbd3f2d3
commit
7074987a64
1 changed files with 2 additions and 2 deletions
|
@ -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 = '';
|
||||
|
|
Loading…
Reference in a new issue