From 6e2142c605ae74eed8a86b55ef758d7fe139a385 Mon Sep 17 00:00:00 2001 From: mngshm Date: Mon, 5 May 2025 16:28:23 +0530 Subject: [PATCH] match title casing to key in the UserData interface --- infra/staff/src/components/UserComponent.tsx | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/infra/staff/src/components/UserComponent.tsx b/infra/staff/src/components/UserComponent.tsx index 426c9821b0..be2b1afb11 100644 --- a/infra/staff/src/components/UserComponent.tsx +++ b/infra/staff/src/components/UserComponent.tsx @@ -138,14 +138,10 @@ const DataTable: React.FC = ({ minHeight: 300, display: "flex", flexDirection: "column", - marginBottom: "20px", height: "100%", width: "100%", - padding: "13px", + padding: "10px", overflowX: "hidden", - "&:not(:last-child)": { - marginBottom: "40px", - }, }} > = ({ width: "100%", }} > - {title} + {title.charAt(0).toUpperCase() + title.slice(1)} - {title === "User" && ( + {title === "user" && ( = ({ )} - {title === "Subscription" && ( + {title === "subscription" && (