Minor fix suggestion: Default to "TAB_BOOST" when supporting own claims
Someone mentioned about odysee.com showing "tip" related text when supporting own claim. Now it should default to "Boost" related text for own claims. L167: Not edited but not sure if "claimIsMine" is needed there any more.
This commit is contained in:
parent
70af46149d
commit
08dd1cbf0b
1 changed files with 1 additions and 1 deletions
|
@ -147,7 +147,7 @@ function WalletSendTip(props: Props) {
|
|||
const noBalance = balance === 0;
|
||||
const tipAmount = useCustomTip ? customTipAmount : presetTipAmount;
|
||||
|
||||
const [activeTab, setActiveTab] = React.useState(TAB_LBC);
|
||||
const [activeTab, setActiveTab] = React.useState(claimIsMine ? TAB_BOOST : TAB_LBC);
|
||||
|
||||
let iconToUse, explainerText;
|
||||
if (activeTab === TAB_BOOST) {
|
||||
|
|
Loading…
Reference in a new issue