Skip to content

Commit

Permalink
Remove delay time on Tooltip on Register form (mobile) (#1825)
Browse files Browse the repository at this point in the history
Co-authored-by: ani-kalpachka <[email protected]>
  • Loading branch information
ani-kalpachka and ani-kalpachka authored May 30, 2024
1 parent e3285d1 commit 263f226
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/components/client/auth/register/RegisterPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,10 @@ export default function RegisterPage({ providers }: RegisterPageProps) {
{profileType === AccountType.INDIVIDUAL && (
<>
<Typography sx={{ paddingTop: 1, px: 1 }}>{t('auth:register.individual')}</Typography>
<Tooltip title={t('auth:register.individual-subtitle')} sx={{ padding: 0 }}>
<Tooltip
enterTouchDelay={0}
title={t('auth:register.individual-subtitle')}
sx={{ padding: 0 }}>
<Button
startIcon={<InfoIcon style={{ width: 20 }} />}
sx={{
Expand Down Expand Up @@ -166,7 +169,10 @@ export default function RegisterPage({ providers }: RegisterPageProps) {
{profileType === AccountType.CORPORATE && (
<>
<Typography sx={{ paddingTop: 1, px: 1 }}>{t('auth:register.corporate')}</Typography>
<Tooltip title={t('auth:register.corporate-subtitle')} sx={{ padding: 0 }}>
<Tooltip
enterTouchDelay={0}
title={t('auth:register.corporate-subtitle')}
sx={{ padding: 0 }}>
<Button
startIcon={<InfoIcon style={{ width: 20 }} />}
sx={{
Expand Down

0 comments on commit 263f226

Please sign in to comment.