Fix the link component in login page

This commit is contained in:
mfrachet 2021-09-27 14:05:37 +02:00
parent 4aea5de416
commit bb8a3084d4
2 changed files with 5 additions and 18 deletions

View File

@ -148,12 +148,10 @@ const Login = ({ onSubmit, schema, children }) => {
<Row justifyContent="center"> <Row justifyContent="center">
<Box paddingTop={4}> <Box paddingTop={4}>
<Link to="/auth/forgot-password"> <Link to="/auth/forgot-password">
<Text small> {formatMessage({
{formatMessage({ id: 'Auth.link.forgot-password',
id: 'Auth.link.forgot-password', defaultMessage: 'Forgot your password?',
defaultMessage: 'Forgot your password?', })}
})}
</Text>
</Link> </Link>
</Box> </Box>
</Row> </Row>

View File

@ -512,13 +512,6 @@ describe('ADMIN | PAGES | AUTH | BaseLogin', () => {
color: #666687; color: #666687;
} }
.c38 {
font-weight: 400;
font-size: 0.75rem;
line-height: 1.33;
color: #32324d;
}
.c10 { .c10 {
font-size: 1rem; font-size: 1rem;
line-height: 1.5; line-height: 1.5;
@ -747,11 +740,7 @@ describe('ADMIN | PAGES | AUTH | BaseLogin', () => {
<span <span
class="c35 c36 c37" class="c35 c36 c37"
> >
<span Forgot your password?
class="c38"
>
Forgot your password?
</span>
</span> </span>
</a> </a>
</div> </div>