Skip to content

Commit

Permalink
Remove delay time on Tooltip on Register form (mobile)
Browse files Browse the repository at this point in the history
  • Loading branch information
ani-kalpachka committed May 29, 2024
1 parent fa22673 commit f3968bd
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 f3968bd

Please sign in to comment.