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 = () => {
105105 label = "Email"
106106 >
107107 < Input
108- id = "email"
109108 { ...register ( "email" , {
110109 required : "Email is required" ,
111110 pattern : emailPattern ,
@@ -121,7 +120,6 @@ const AddUser = () => {
121120 label = "Full Name"
122121 >
123122 < Input
124- id = "name"
125123 { ...register ( "full_name" ) }
126124 placeholder = "Full name"
127125 type = "text"
@@ -135,7 +133,6 @@ const AddUser = () => {
135133 label = "Set Password"
136134 >
137135 < Input
138- id = "password"
139136 { ...register ( "password" , {
140137 required : "Password is required" ,
141138 minLength : {
@@ -155,7 +152,6 @@ const AddUser = () => {
155152 label = "Confirm Password"
156153 >
157154 < Input
158- id = "confirm_password"
159155 { ...register ( "confirm_password" , {
160156 required : "Please confirm your password" ,
161157 validate : ( value ) =>
Original file line number Diff line number Diff line change @@ -104,7 +104,6 @@ const EditUser = ({ user }: EditUserProps) => {
104104 label = "Email"
105105 >
106106 < Input
107- id = "email"
108107 { ...register ( "email" , {
109108 required : "Email is required" ,
110109 pattern : emailPattern ,
@@ -120,7 +119,6 @@ const EditUser = ({ user }: EditUserProps) => {
120119 label = "Full Name"
121120 >
122121 < Input
123- id = "name"
124122 { ...register ( "full_name" ) }
125123 placeholder = "Full name"
126124 type = "text"
@@ -133,7 +131,6 @@ const EditUser = ({ user }: EditUserProps) => {
133131 label = "Set Password"
134132 >
135133 < Input
136- id = "password"
137134 { ...register ( "password" , {
138135 minLength : {
139136 value : 8 ,
@@ -151,7 +148,6 @@ const EditUser = ({ user }: EditUserProps) => {
151148 label = "Confirm Password"
152149 >
153150 < Input
154- id = "confirm_password"
155151 { ...register ( "confirm_password" , {
156152 validate : ( value ) =>
157153 value === getValues ( ) . password ||
Original file line number Diff line number Diff line change @@ -92,7 +92,6 @@ const AddItem = () => {
9292 label = "Title"
9393 >
9494 < Input
95- id = "title"
9695 { ...register ( "title" , {
9796 required : "Title is required." ,
9897 } ) }
@@ -107,7 +106,6 @@ const AddItem = () => {
107106 label = "Description"
108107 >
109108 < Input
110- id = "description"
111109 { ...register ( "description" ) }
112110 placeholder = "Description"
113111 type = "text"
Original file line number Diff line number Diff line change @@ -101,7 +101,6 @@ const EditItem = ({ item }: EditItemProps) => {
101101 label = "Title"
102102 >
103103 < Input
104- id = "title"
105104 { ...register ( "title" , {
106105 required : "Title is required" ,
107106 } ) }
@@ -116,7 +115,6 @@ const EditItem = ({ item }: EditItemProps) => {
116115 label = "Description"
117116 >
118117 < Input
119- id = "description"
120118 { ...register ( "description" ) }
121119 placeholder = "Description"
122120 type = "text"
Original file line number Diff line number Diff line change @@ -79,7 +79,6 @@ function Login() {
7979 >
8080 < InputGroup w = "100%" startElement = { < FiMail /> } >
8181 < Input
82- id = "username"
8382 { ...register ( "username" , {
8483 required : "Username is required" ,
8584 pattern : emailPattern ,
Original file line number Diff line number Diff line change @@ -77,7 +77,6 @@ function RecoverPassword() {
7777 < Field invalid = { ! ! errors . email } errorText = { errors . email ?. message } >
7878 < InputGroup w = "100%" startElement = { < FiMail /> } >
7979 < Input
80- id = "email"
8180 { ...register ( "email" , {
8281 required : "Email is required" ,
8382 pattern : emailPattern ,
Original file line number Diff line number Diff line change @@ -79,7 +79,6 @@ function SignUp() {
7979 >
8080 < InputGroup w = "100%" startElement = { < FiUser /> } >
8181 < Input
82- id = "full_name"
8382 minLength = { 3 }
8483 { ...register ( "full_name" , {
8584 required : "Full Name is required" ,
@@ -93,7 +92,6 @@ function SignUp() {
9392 < Field invalid = { ! ! errors . email } errorText = { errors . email ?. message } >
9493 < InputGroup w = "100%" startElement = { < FiUser /> } >
9594 < Input
96- id = "email"
9795 { ...register ( "email" , {
9896 required : "Email is required" ,
9997 pattern : emailPattern ,
You can’t perform that action at this time.
0 commit comments