File tree Expand file tree Collapse file tree 7 files changed +0
-16
lines changed Expand file tree Collapse file tree 7 files changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,6 @@ const AddUser = () => {
105
105
label = "Email"
106
106
>
107
107
< Input
108
- id = "email"
109
108
{ ...register ( "email" , {
110
109
required : "Email is required" ,
111
110
pattern : emailPattern ,
@@ -121,7 +120,6 @@ const AddUser = () => {
121
120
label = "Full Name"
122
121
>
123
122
< Input
124
- id = "name"
125
123
{ ...register ( "full_name" ) }
126
124
placeholder = "Full name"
127
125
type = "text"
@@ -135,7 +133,6 @@ const AddUser = () => {
135
133
label = "Set Password"
136
134
>
137
135
< Input
138
- id = "password"
139
136
{ ...register ( "password" , {
140
137
required : "Password is required" ,
141
138
minLength : {
@@ -155,7 +152,6 @@ const AddUser = () => {
155
152
label = "Confirm Password"
156
153
>
157
154
< Input
158
- id = "confirm_password"
159
155
{ ...register ( "confirm_password" , {
160
156
required : "Please confirm your password" ,
161
157
validate : ( value ) =>
Original file line number Diff line number Diff line change @@ -104,7 +104,6 @@ const EditUser = ({ user }: EditUserProps) => {
104
104
label = "Email"
105
105
>
106
106
< Input
107
- id = "email"
108
107
{ ...register ( "email" , {
109
108
required : "Email is required" ,
110
109
pattern : emailPattern ,
@@ -120,7 +119,6 @@ const EditUser = ({ user }: EditUserProps) => {
120
119
label = "Full Name"
121
120
>
122
121
< Input
123
- id = "name"
124
122
{ ...register ( "full_name" ) }
125
123
placeholder = "Full name"
126
124
type = "text"
@@ -133,7 +131,6 @@ const EditUser = ({ user }: EditUserProps) => {
133
131
label = "Set Password"
134
132
>
135
133
< Input
136
- id = "password"
137
134
{ ...register ( "password" , {
138
135
minLength : {
139
136
value : 8 ,
@@ -151,7 +148,6 @@ const EditUser = ({ user }: EditUserProps) => {
151
148
label = "Confirm Password"
152
149
>
153
150
< Input
154
- id = "confirm_password"
155
151
{ ...register ( "confirm_password" , {
156
152
validate : ( value ) =>
157
153
value === getValues ( ) . password ||
Original file line number Diff line number Diff line change @@ -92,7 +92,6 @@ const AddItem = () => {
92
92
label = "Title"
93
93
>
94
94
< Input
95
- id = "title"
96
95
{ ...register ( "title" , {
97
96
required : "Title is required." ,
98
97
} ) }
@@ -107,7 +106,6 @@ const AddItem = () => {
107
106
label = "Description"
108
107
>
109
108
< Input
110
- id = "description"
111
109
{ ...register ( "description" ) }
112
110
placeholder = "Description"
113
111
type = "text"
Original file line number Diff line number Diff line change @@ -101,7 +101,6 @@ const EditItem = ({ item }: EditItemProps) => {
101
101
label = "Title"
102
102
>
103
103
< Input
104
- id = "title"
105
104
{ ...register ( "title" , {
106
105
required : "Title is required" ,
107
106
} ) }
@@ -116,7 +115,6 @@ const EditItem = ({ item }: EditItemProps) => {
116
115
label = "Description"
117
116
>
118
117
< Input
119
- id = "description"
120
118
{ ...register ( "description" ) }
121
119
placeholder = "Description"
122
120
type = "text"
Original file line number Diff line number Diff line change @@ -79,7 +79,6 @@ function Login() {
79
79
>
80
80
< InputGroup w = "100%" startElement = { < FiMail /> } >
81
81
< Input
82
- id = "username"
83
82
{ ...register ( "username" , {
84
83
required : "Username is required" ,
85
84
pattern : emailPattern ,
Original file line number Diff line number Diff line change @@ -77,7 +77,6 @@ function RecoverPassword() {
77
77
< Field invalid = { ! ! errors . email } errorText = { errors . email ?. message } >
78
78
< InputGroup w = "100%" startElement = { < FiMail /> } >
79
79
< Input
80
- id = "email"
81
80
{ ...register ( "email" , {
82
81
required : "Email is required" ,
83
82
pattern : emailPattern ,
Original file line number Diff line number Diff line change @@ -79,7 +79,6 @@ function SignUp() {
79
79
>
80
80
< InputGroup w = "100%" startElement = { < FiUser /> } >
81
81
< Input
82
- id = "full_name"
83
82
minLength = { 3 }
84
83
{ ...register ( "full_name" , {
85
84
required : "Full Name is required" ,
@@ -93,7 +92,6 @@ function SignUp() {
93
92
< Field invalid = { ! ! errors . email } errorText = { errors . email ?. message } >
94
93
< InputGroup w = "100%" startElement = { < FiUser /> } >
95
94
< Input
96
- id = "email"
97
95
{ ...register ( "email" , {
98
96
required : "Email is required" ,
99
97
pattern : emailPattern ,
You can’t perform that action at this time.
0 commit comments