File tree 4 files changed +17
-9
lines changed
4 files changed +17
-9
lines changed Original file line number Diff line number Diff line change @@ -21,13 +21,13 @@ const Appearance = () => {
21
21
< Stack >
22
22
{ /* TODO: Add system default option */ }
23
23
< Radio value = "light" colorScheme = "teal" >
24
- Light mode
24
+ Light Mode
25
25
< Badge ml = "1" colorScheme = "teal" >
26
26
Default
27
27
</ Badge >
28
28
</ Radio >
29
29
< Radio value = "dark" colorScheme = "teal" >
30
- Dark mode
30
+ Dark Mode
31
31
</ Radio >
32
32
</ Stack >
33
33
</ RadioGroup >
Original file line number Diff line number Diff line change @@ -53,14 +53,18 @@ const ChangePassword = () => {
53
53
54
54
return (
55
55
< >
56
- < Container maxW = "full" as = "form" onSubmit = { handleSubmit ( onSubmit ) } >
56
+ < Container maxW = "full" >
57
57
< Heading size = "sm" py = { 4 } >
58
58
Change Password
59
59
</ Heading >
60
- < Box w = { { sm : "full" , md : "50%" } } >
60
+ < Box
61
+ w = { { sm : "full" , md : "50%" } }
62
+ as = "form"
63
+ onSubmit = { handleSubmit ( onSubmit ) }
64
+ >
61
65
< FormControl isRequired isInvalid = { ! ! errors . current_password } >
62
66
< FormLabel color = { color } htmlFor = "current_password" >
63
- Current password
67
+ Current Password
64
68
</ FormLabel >
65
69
< Input
66
70
id = "current_password"
Original file line number Diff line number Diff line change @@ -78,11 +78,15 @@ const UserInformation = () => {
78
78
79
79
return (
80
80
< >
81
- < Container maxW = "full" as = "form" onSubmit = { handleSubmit ( onSubmit ) } >
81
+ < Container maxW = "full" >
82
82
< Heading size = "sm" py = { 4 } >
83
83
User Information
84
84
</ Heading >
85
- < Box w = { { sm : "full" , md : "50%" } } >
85
+ < Box
86
+ w = { { sm : "full" , md : "50%" } }
87
+ as = "form"
88
+ onSubmit = { handleSubmit ( onSubmit ) }
89
+ >
86
90
< FormControl >
87
91
< FormLabel color = { color } htmlFor = "name" >
88
92
Full name
Original file line number Diff line number Diff line change @@ -35,8 +35,8 @@ export const confirmPasswordRules = (
35
35
}
36
36
37
37
if ( isRequired ) {
38
- rules . required = "Password confirmation is required" ;
38
+ rules . required = "Password confirmation is required"
39
39
}
40
40
41
- return rules ;
41
+ return rules
42
42
}
You can’t perform that action at this time.
0 commit comments