From 47548490bb68db1b44c1a56ea67141e0f9cedacf Mon Sep 17 00:00:00 2001
From: Alejandra <90076947+alejsdev@users.noreply.github.com>
Date: Mon, 20 May 2024 13:30:18 -0500
Subject: [PATCH] =?UTF-8?q?=E2=9A=92=EF=B8=8F=20Add=20minor=20frontend=20t?=
=?UTF-8?q?weaks=20(#1210)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
frontend/src/components/UserSettings/Appearance.tsx | 4 ++--
.../src/components/UserSettings/ChangePassword.tsx | 10 +++++++---
.../src/components/UserSettings/UserInformation.tsx | 8 ++++++--
frontend/src/utils.ts | 4 ++--
4 files changed, 17 insertions(+), 9 deletions(-)
diff --git a/frontend/src/components/UserSettings/Appearance.tsx b/frontend/src/components/UserSettings/Appearance.tsx
index a2bb1c0..a2ab4b0 100644
--- a/frontend/src/components/UserSettings/Appearance.tsx
+++ b/frontend/src/components/UserSettings/Appearance.tsx
@@ -21,13 +21,13 @@ const Appearance = () => {
{/* TODO: Add system default option */}
- Light mode
+ Light Mode
Default
- Dark mode
+ Dark Mode
diff --git a/frontend/src/components/UserSettings/ChangePassword.tsx b/frontend/src/components/UserSettings/ChangePassword.tsx
index d7137c5..9619b4f 100644
--- a/frontend/src/components/UserSettings/ChangePassword.tsx
+++ b/frontend/src/components/UserSettings/ChangePassword.tsx
@@ -53,14 +53,18 @@ const ChangePassword = () => {
return (
<>
-
+
Change Password
-
+
- Current password
+ Current Password
{
return (
<>
-
+
User Information
-
+
Full name
diff --git a/frontend/src/utils.ts b/frontend/src/utils.ts
index 7fb3775..3d504b3 100644
--- a/frontend/src/utils.ts
+++ b/frontend/src/utils.ts
@@ -35,8 +35,8 @@ export const confirmPasswordRules = (
}
if (isRequired) {
- rules.required = "Password confirmation is required";
+ rules.required = "Password confirmation is required"
}
- return rules;
+ return rules
}