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">
<Box paddingTop={4}>
<Link to="/auth/forgot-password">
<Text small>
{formatMessage({
id: 'Auth.link.forgot-password',
defaultMessage: 'Forgot your password?',
})}
</Text>
{formatMessage({
id: 'Auth.link.forgot-password',
defaultMessage: 'Forgot your password?',
})}
</Link>
</Box>
</Row>

View File

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