Skip to content

Commit

Permalink
Feat: add a warning about Google login (#3564)
Browse files Browse the repository at this point in the history
* Feat: add a warning about Google login

* Lint

* Adjust CSS
  • Loading branch information
katspaugh authored Apr 17, 2024
1 parent b286885 commit 0997119
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/components/common/SocialSigner/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import useSocialWallet from '@/hooks/wallets/mpc/useSocialWallet'
import { type ISocialWalletService } from '@/services/mpc/interfaces'
import { Box, Button, LinearProgress, SvgIcon, Typography } from '@mui/material'
import { Alert, Box, Button, LinearProgress, SvgIcon, Typography } from '@mui/material'
import { COREKIT_STATUS } from '@web3auth/mpc-core-kit'
import { useState } from 'react'
import GoogleLogo from '@/public/images/welcome/logo-google.svg'
Expand Down Expand Up @@ -132,6 +132,10 @@ export const SocialSigner = ({ socialWalletService, wallet, onLogin, onRequirePa
)}
{loginError && <ErrorMessage className={css.loginError}>{loginError}</ErrorMessage>}
</Box>

<Alert severity="warning" sx={{ mt: 1, width: '100%' }}>
From <b>01.05.2024</b> we will no longer support account creation and login with Google.
</Alert>
</>
)
}
Expand Down

0 comments on commit 0997119

Please sign in to comment.