From fc79c87bba9ec42ae93bdfb99ed17bd36445c0fa Mon Sep 17 00:00:00 2001 From: infiinte-persistence Date: Tue, 10 Nov 2020 04:32:50 +0800 Subject: [PATCH] Fix sidebar tooltip showing string with context metadata. ## Issue In the odysee branch, the tooltip for "Following" in the Sidebar was shown as "Following --[sidebar]--". In lbry.tv, the tooltip doesn't appear. I believe the tooltip appeared due to the name change from 'label' to 'title' and then being passed to Button through '...passedProps'. Fix by explicitly setting the Button's 'title' to the localized text. --- ui/component/sideNavigation/view.jsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ui/component/sideNavigation/view.jsx b/ui/component/sideNavigation/view.jsx index 7480b6e9a..660680a5a 100644 --- a/ui/component/sideNavigation/view.jsx +++ b/ui/component/sideNavigation/view.jsx @@ -336,6 +336,7 @@ function SideNavigation(props: Props) {