diff --git a/ui/component/userSignIn/view.jsx b/ui/component/userSignIn/view.jsx index 65d830a67..a5c25e57c 100644 --- a/ui/component/userSignIn/view.jsx +++ b/ui/component/userSignIn/view.jsx @@ -62,7 +62,6 @@ function UserSignIn(props: Props) { const shouldRedirectImmediately = urlParams.get('immediate'); const [initialSignInStep, setInitialSignInStep] = React.useState(); const [hasSeenFollowList, setHasSeenFollowList] = usePersistedState('channel-follow-intro', false); - const [hasSkippedRewards, setHasSkippedRewards] = usePersistedState('skip-rewards-intro', false); const hasVerifiedEmail = user && user.has_verified_email; const rewardsApproved = user && user.is_reward_approved; const isIdentityVerified = user && user.is_identity_verified; @@ -82,7 +81,7 @@ function UserSignIn(props: Props) { // The possible screens for the sign in flow const showEmail = !emailToVerify && !hasVerifiedEmail; const showEmailVerification = emailToVerify && !hasVerifiedEmail; - const showUserVerification = hasVerifiedEmail && !rewardsApproved && !isIdentityVerified && !hasSkippedRewards; + const showUserVerification = hasVerifiedEmail && !rewardsApproved && !isIdentityVerified; const showSyncPassword = syncEnabled && getSyncError; const showChannelCreation = hasVerifiedEmail && @@ -120,7 +119,7 @@ function UserSignIn(props: Props) { const SIGN_IN_FLOW = [ showEmail && , showEmailVerification && , - showUserVerification && setHasSkippedRewards(true)} />, + showUserVerification && , showChannelCreation && , showFollowIntro && ( void, fetchUser: () => void, skipLink?: string, - onSkip: () => void, }; class UserVerify extends React.PureComponent { @@ -29,12 +28,7 @@ class UserVerify extends React.PureComponent { } render() { - const { errorMessage, isPending, verifyPhone, fetchUser, skipLink, onSkip } = this.props; - const skipButtonProps = { - onClick: onSkip, - navigate: skipLink || '/', - }; - + const { errorMessage, isPending, verifyPhone, fetchUser, skipLink } = this.props; return (
@@ -51,7 +45,7 @@ class UserVerify extends React.PureComponent { to be validated. {' '}
@@ -138,7 +132,7 @@ class UserVerify extends React.PureComponent { subtitle={__('Rewards validation is optional.')} actions={ -