From 1a3e1ba003405b969a0666ab7f8eb269e7b844ec Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Tue, 15 Sep 2020 12:34:45 -0400 Subject: [PATCH] move sync password to it's own page --- ui/component/router/view.jsx | 1 + ui/component/userSignUp/view.jsx | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/ui/component/router/view.jsx b/ui/component/router/view.jsx index 703c11178..10ae97794 100644 --- a/ui/component/router/view.jsx +++ b/ui/component/router/view.jsx @@ -47,6 +47,7 @@ import BuyPage from 'page/buy'; import NotificationsPage from 'page/notifications'; import SignInWalletPasswordPage from 'page/signInWalletPassword'; import YoutubeSyncPage from 'page/youtubeSync'; +import SignInWalletPasswordPage from 'page/signInWalletPassword'; import { LINKED_COMMENT_QUERY_PARAM } from 'constants/comment'; import { parseURI } from 'lbry-redux'; import { SITE_TITLE, WELCOME_VERSION } from 'config'; diff --git a/ui/component/userSignUp/view.jsx b/ui/component/userSignUp/view.jsx index 901e604ca..2cf6852d7 100644 --- a/ui/component/userSignUp/view.jsx +++ b/ui/component/userSignUp/view.jsx @@ -104,7 +104,6 @@ function UserSignUp(props: Props) { const showEmail = !hasVerifiedEmail; const showEmailVerification = (emailToVerify && !hasVerifiedEmail) || (!hasVerifiedEmail && passwordSet); const showUserVerification = hasVerifiedEmail && !rewardsApproved && !isIdentityVerified && !rewardsAcknowledged; - const showSyncPassword = syncEnabled && getSyncError; const showChannelCreation = hasVerifiedEmail && ((balance !== undefined && @@ -116,8 +115,7 @@ function UserSignUp(props: Props) { const showYoutubeTransfer = hasVerifiedEmail && hasYoutubeChannels && !isYoutubeTransferComplete; const showFollowIntro = step === 'channels' || (hasVerifiedEmail && !followingAcknowledged); const showTagsIntro = step === 'tags' || (hasVerifiedEmail && !tagsAcknowledged); - const canHijackSignInFlowWithSpinner = - hasVerifiedEmail && !getSyncError && !showFollowIntro && !showTagsIntro && !rewardsAcknowledged; + const canHijackSignInFlowWithSpinner = hasVerifiedEmail && !showFollowIntro && !showTagsIntro && !rewardsAcknowledged; const isCurrentlyFetchingSomething = fetchingChannels || claimingReward || syncingWallet || creatingChannel; const isWaitingForSomethingToFinish = // If the user has claimed the email award, we need to wait until the balance updates sometime in the future