fix: 🐛 Phone faq button is missing
Simon Mulquin simon@octree.ch
Fri, 13 Jan 2023 21:22:05 +0000
1 files changed,
8 insertions(+),
11 deletions(-)
M
frontend/containers/NewTravelDialog/index.tsx
→
frontend/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)}>