diff --git a/ui/component/common/icon-custom.jsx b/ui/component/common/icon-custom.jsx index c28e8de54..d55f84cc8 100644 --- a/ui/component/common/icon-custom.jsx +++ b/ui/component/common/icon-custom.jsx @@ -2315,4 +2315,12 @@ export const icons = { ), + [ICONS.MUSIC]: buildIcon( + + + + + + + ), }; diff --git a/ui/component/walletTipAmountSelector/view.jsx b/ui/component/walletTipAmountSelector/view.jsx index 98006abe7..db5c4abd2 100644 --- a/ui/component/walletTipAmountSelector/view.jsx +++ b/ui/component/walletTipAmountSelector/view.jsx @@ -34,7 +34,7 @@ type Props = { uri: string, onTipErrorChange: (string) => void, activeTab: string, - shouldDisableReviewButton: (boolean) => void + shouldDisableReviewButton: (boolean) => void, }; function WalletTipAmountSelector(props: Props) { @@ -46,7 +46,7 @@ function WalletTipAmountSelector(props: Props) { const [hasCardSaved, setHasSavedCard] = usePersistedState('comment-support:hasCardSaved', false); // if it's fiat but there's no card saved OR the creator can't receive fiat tips - const shouldDisableFiatSelectors = (activeTab === TAB_FIAT && (!hasCardSaved || !canReceiveFiatTip)); + const shouldDisableFiatSelectors = activeTab === TAB_FIAT && (!hasCardSaved || !canReceiveFiatTip); /** * whether tip amount selection/review functionality should be disabled @@ -120,7 +120,8 @@ function WalletTipAmountSelector(props: Props) { // setHasSavedCard(false); // setCanReceiveFiatTip(true); - let regexp, tipError; + let regexp, + tipError = ''; if (amount === 0) { tipError = __('Amount must be a positive number'); diff --git a/ui/constants/icons.js b/ui/constants/icons.js index 8f57851ee..db057e8f1 100644 --- a/ui/constants/icons.js +++ b/ui/constants/icons.js @@ -164,3 +164,4 @@ export const TIME = 'time'; export const GLOBE = 'globe'; export const RSS = 'rss'; export const STAR = 'star'; +export const MUSIC = 'MusicCategory';