File tree 3 files changed +4
-3
lines changed
3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,9 @@ import { Link } from "react-router-dom";
3
3
4
4
import { _h6 } from "../../styles/tools/Typography" ;
5
5
6
- export const Button = styled ( Link ) `
6
+ export const Button = styled ( Link ) . attrs ( { as : "button" } ) `
7
7
${ _h6 } ;
8
+ cursor: pointer;
8
9
display: flex;
9
10
align-items: center;
10
11
justify-content: center;
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ function FormLogin() {
45
45
msgError = { errors . password }
46
46
/>
47
47
48
- < ButtonCollab content = "Entrar" as = "button" />
48
+ < ButtonCollab content = "Entrar" />
49
49
< ActionCollab content = "Esqueci a senha" to = "/auth/forgot" />
50
50
< ActionCollab content = "Criar conta" to = "/auth/signup" />
51
51
</ FormAuth >
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ function FormLogin() {
66
66
msgError = { errors . password }
67
67
/>
68
68
69
- < ButtonCollab content = "Enviar" as = "button" />
69
+ < ButtonCollab content = "Enviar" />
70
70
< ActionCollab content = "Já tenho cadastro" to = "/auth/login" />
71
71
</ FormAuth >
72
72
) ;
You can’t perform that action at this time.
0 commit comments