diff --git a/backend/src/routes/auth.ts b/backend/src/routes/auth.ts index 1af438e..9002317 100644 --- a/backend/src/routes/auth.ts +++ b/backend/src/routes/auth.ts @@ -63,7 +63,7 @@ router.post("/login", validateAuth, async (req: Request, res: Response) => { if (!user) { res.status(401).json({ title: "Wrong Email or Password", - message: "The credentials entered are invalid.........", + message: "The credentials entered are invalid.", }); return; } diff --git a/frontend/src/components/PreviewProfile.tsx b/frontend/src/components/PreviewProfile.tsx index 9e133d1..a4a3ffd 100644 --- a/frontend/src/components/PreviewProfile.tsx +++ b/frontend/src/components/PreviewProfile.tsx @@ -90,7 +90,7 @@ const PreviewProfile = ({ -
+
- -
+
+ +
+ +
) : ( -
+
Select a registration to see details.
)}
-
-
+
+
-
-

- Registration's List -

-
List of Users that Registered.
+
+
+

+ Registrations List +

+

+ List of Users that registered. +

+
+
-
- {registrations && registrations.length > 0 ? ( - registrations.map((registration) => ( +
+ {sortedRegistrations && sortedRegistrations.length > 0 ? ( + sortedRegistrations.map((registration) => (
{

- Violators' List + Violators List

List of Violators within the university.