From a63713032ff6b15b80348f724246e7abea40c8a4 Mon Sep 17 00:00:00 2001
From: Md Saban <45597394+mdsaban@users.noreply.github.com>
Date: Sun, 23 Jun 2024 17:39:40 +0530
Subject: ui: Changes for user settings page (#251)

* fix: ui refactoring for user settings page

* fix: type error

* fix: pr comments
---
 apps/web/app/dashboard/settings/page.tsx | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

(limited to 'apps/web/app/dashboard/settings/page.tsx')

diff --git a/apps/web/app/dashboard/settings/page.tsx b/apps/web/app/dashboard/settings/page.tsx
index 059660b7..bab76794 100644
--- a/apps/web/app/dashboard/settings/page.tsx
+++ b/apps/web/app/dashboard/settings/page.tsx
@@ -1,12 +1,17 @@
 import ApiKeySettings from "@/components/dashboard/settings/ApiKeySettings";
 import { ChangePassword } from "@/components/dashboard/settings/ChangePassword";
+import UserDetails from "@/components/dashboard/settings/UserDetails";
 
 export default async function Settings() {
   return (
-    <div className="flex flex-col space-y-2 rounded-md border bg-background p-4">
-      <p className="text-2xl">Settings</p>
-      <ChangePassword />
-      <ApiKeySettings />
-    </div>
+    <>
+      <div className="rounded-md border bg-background p-4">
+        <UserDetails />
+        <ChangePassword />
+      </div>
+      <div className="mt-4 rounded-md border bg-background p-4">
+        <ApiKeySettings />
+      </div>
+    </>
   );
 }
-- 
cgit v1.2.3-70-g09d2

