diff --git a/src/pages/TrueSightV2/pages/RegisterWhitelist/SignInForm.tsx b/src/pages/TrueSightV2/pages/RegisterWhitelist/SignInForm.tsx index ec5fd06aff..c68b91355c 100644 --- a/src/pages/TrueSightV2/pages/RegisterWhitelist/SignInForm.tsx +++ b/src/pages/TrueSightV2/pages/RegisterWhitelist/SignInForm.tsx @@ -6,6 +6,7 @@ import styled from 'styled-components' import { ButtonLight, ButtonPrimary } from 'components/Button' import Column from 'components/Column' import DownloadWalletModal from 'components/DownloadWalletModal' +import { useActiveWeb3React } from 'hooks' import useLogin from 'hooks/useLogin' import useTheme from 'hooks/useTheme' import { useValidateEmail } from 'pages/NotificationCenter/NotificationPreference' @@ -18,40 +19,48 @@ const Wrapper = styled(Column)` width: 340px; gap: 16px; align-items: center; + ${({ theme }) => theme.mediaWidth.upToSmall` + width: 100%; + `}; ` export default function SignInForm() { const { signIn } = useLogin() + const { account } = useActiveWeb3React() const theme = useTheme() const openDownloadWalletModal = useOpenModal(ApplicationModal.DOWNLOAD_WALLET) const { inputEmail, errorInput, onChangeEmail } = useValidateEmail('') return ( - - - inputEmail && !errorInput && signIn({ loginMethod: LoginMethod.EMAIL, account: inputEmail })} - height={'36px'} - > - Sign-In - + + + + inputEmail && !errorInput && signIn({ loginMethod: LoginMethod.EMAIL, account: inputEmail })} + height={'36px'} + > + Sign-In with Email + + - signIn()} height={'36px'}> - Sign-In with Wallet - - - - Don't have a wallet?{' '} - - Get started here - - - + + signIn()} height={'36px'}> + Sign-In with Wallet + + + + Don't have a wallet?{' '} + + Get started here + + + + )