From b68b0900abd6c4a381d190b79ab6b8789281e133 Mon Sep 17 00:00:00 2001 From: zeppi Date: Tue, 2 Aug 2022 15:52:16 -0400 Subject: [PATCH 1/2] remove requiresAuth --- ui/component/button/view.jsx | 30 +----------------------- ui/component/searchChannelField/view.jsx | 1 - ui/component/syncToggle/view.jsx | 2 +- 3 files changed, 2 insertions(+), 31 deletions(-) diff --git a/ui/component/button/view.jsx b/ui/component/button/view.jsx index f17489f08..e663d9cea 100644 --- a/ui/component/button/view.jsx +++ b/ui/component/button/view.jsx @@ -5,7 +5,6 @@ import Icon from 'component/common/icon'; import classnames from 'classnames'; import { NavLink } from 'react-router-dom'; import { formatLbryUrlForWeb } from 'util/url'; -import * as PAGES from 'constants/pages'; import useCombinedRefs from 'effects/use-combined-refs'; type Props = { @@ -34,7 +33,6 @@ type Props = { onMouseLeave: ?(any) => any, pathname: string, emailVerified: boolean, - requiresAuth: ?boolean, myref: any, dispatch: any, 'aria-label'?: string, @@ -66,7 +64,6 @@ const Button = forwardRef((props: Props, ref: any) => { iconColor, activeClass, emailVerified, - requiresAuth, myref, dispatch, //