diff --git a/ui/component/sideNavigation/view.jsx b/ui/component/sideNavigation/view.jsx index 45a902a65..99bafaa5a 100644 --- a/ui/component/sideNavigation/view.jsx +++ b/ui/component/sideNavigation/view.jsx @@ -149,7 +149,7 @@ function SideNavigation(props: Props) { hideForUnauth: true, }, { - title: 'Rewards', + label: 'Rewards', navigate: `/$/${PAGES.REWARDS}`, icon: ICONS.REWARDS, hideForUnauth: true, @@ -202,10 +202,9 @@ function SideNavigation(props: Props) { icon: ICONS.HELP, }, ]; - if (PINNED_URI_1 && PINNED_LABEL_1) { MOBILE_LINKS.push({ - title: PINNED_LABEL_1, + label: PINNED_LABEL_1, navigate: PINNED_URI_1, icon: ICONS.PINNED, }); @@ -213,7 +212,7 @@ function SideNavigation(props: Props) { if (PINNED_URI_2 && PINNED_LABEL_2) { MOBILE_LINKS.push({ - title: PINNED_LABEL_2, + label: PINNED_LABEL_2, navigate: PINNED_URI_2, icon: ICONS.PINNED, }); @@ -223,9 +222,10 @@ function SideNavigation(props: Props) { const isAuthenticated = Boolean(email); // SIDE LINKS: FOLLOWING, HOME, [FULL,] [EXTRA] let SIDE_LINKS: Array = []; - + if (isAuthenticated) { + SIDE_LINKS.push(RECENT_FROM_FOLLOWING); + } SIDE_LINKS.push(HOME); - SIDE_LINKS.push(RECENT_FROM_FOLLOWING); if (!SIMPLE_SITE) { SIDE_LINKS.push(...FULL_LINKS); @@ -248,7 +248,6 @@ function SideNavigation(props: Props) { return true; }) : UNAUTH_LINKS; - React.useEffect(() => { if (purchaseSuccess) { setPulseLibrary(true); @@ -361,8 +360,7 @@ function SideNavigation(props: Props) { ) : (
+ {sidebarOpen && helpLinks} )} @@ -448,6 +447,7 @@ function SideNavigation(props: Props) { )} {!isAuthenticated && unAuthNudge} + {helpLinks}