all repos — caroster @ c461c9dd5b9ab2e37fffa332032458b5b6ffcb90

[Octree] Group carpool to your event https://caroster.io

fix: 🐛 Phone faq button is missing
Simon Mulquin simon@octree.ch
Fri, 13 Jan 2023 21:22:05 +0000
commit

c461c9dd5b9ab2e37fffa332032458b5b6ffcb90

parent

2e1d246adedb2ed739c18489e6fff9f30f661508

1 files changed, 8 insertions(+), 11 deletions(-)

jump to
M frontend/containers/NewTravelDialog/index.tsxfrontend/containers/NewTravelDialog/index.tsx

@@ -140,17 +140,14 @@ inputProps={{type: 'tel'}}

value={phone} onChange={e => setPhone(e.target.value)} name="phone" - FormHelperTextProps={{ - component: () => ( - <Typography variant="caption"> - <FAQLink - sx={{textDecoration: 'none'}} - link={t('travel.creation.phoneHelper.faq')} - text={t('travel.creation.phoneHelper.why')} - /> - </Typography> - ), - }} + helperText={ + <Typography variant="caption"> + <FAQLink + link={t('travel.creation.phoneHelper.faq')} + text={t('travel.creation.phoneHelper.why')} + /> + </Typography> + } id="NewTravelPhone" /> <Box sx={addSpacing(theme, 1)}>