diff --git a/src/pages/TrueSightV2/pages/RegisterWhitelist/index.tsx b/src/pages/TrueSightV2/pages/RegisterWhitelist/index.tsx index e108f57116..3f3942e91d 100644 --- a/src/pages/TrueSightV2/pages/RegisterWhitelist/index.tsx +++ b/src/pages/TrueSightV2/pages/RegisterWhitelist/index.tsx @@ -6,9 +6,6 @@ import { useRequestWhiteListMutation } from 'services/kyberAISubscription' import styled from 'styled-components' import { ButtonLight, ButtonPrimary } from 'components/Button' -import Column from 'components/Column' -import DownloadWalletModal from 'components/DownloadWalletModal' -import Row from 'components/Row' import { APP_PATHS } from 'constants/index' import { MIXPANEL_TYPE, useMixpanelKyberAI } from 'hooks/useMixpanel' import useTheme from 'hooks/useTheme' @@ -16,11 +13,8 @@ import SignInForm from 'pages/TrueSightV2/pages/RegisterWhitelist/SignInForm' import SubscribeForm from 'pages/TrueSightV2/pages/RegisterWhitelist/SubscribeForm' import WaitListForm from 'pages/TrueSightV2/pages/RegisterWhitelist/WaitListForm' import VerifyCodeModal from 'pages/Verify/VerifyCodeModal' -import { ApplicationModal } from 'state/application/actions' -import { useOpenModal } from 'state/application/hooks' import { useSessionInfo } from 'state/authen/hooks' import { useIsWhiteListKyberAI } from 'state/user/hooks' -import { ButtonText } from 'theme' const ConnectWalletButton = styled(ButtonLight)` height: 36px; @@ -41,7 +35,6 @@ export default function RegisterWhitelist({ showForm = true }: { showForm?: bool referredByCode: '', showVerifySuccess: false, }) - const openDownloadWalletModal = useOpenModal(ApplicationModal.DOWNLOAD_WALLET) const showVerify = (email: string, referredByCode: string, showVerifySuccess: boolean) => { setVerifyModalState({ isOpen: true, referredByCode, email, showVerifySuccess }) @@ -95,22 +88,6 @@ export default function RegisterWhitelist({ showForm = true }: { showForm?: bool ) - if (!isLogin) - return ( - - signIn()}> - Sign-In to Continue - - - Don't have a wallet? - - Get started here - - - - - ) - if (!isLogin) return const btnGetStart = (