diff options
| author | Md Saban <45597394+mdsaban@users.noreply.github.com> | 2024-06-23 17:39:40 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-23 13:09:40 +0100 |
| commit | a63713032ff6b15b80348f724246e7abea40c8a4 (patch) | |
| tree | 159801228f4702104feb827c3e78236253a79cff /apps/web/components/dashboard/settings/ApiKeySettings.tsx | |
| parent | 1071095435ceb7030955bfdd9fc594e1a43c121b (diff) | |
| download | karakeep-a63713032ff6b15b80348f724246e7abea40c8a4.tar.zst | |
ui: Changes for user settings page (#251)
* fix: ui refactoring for user settings page
* fix: type error
* fix: pr comments
Diffstat (limited to 'apps/web/components/dashboard/settings/ApiKeySettings.tsx')
| -rw-r--r-- | apps/web/components/dashboard/settings/ApiKeySettings.tsx | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/apps/web/components/dashboard/settings/ApiKeySettings.tsx b/apps/web/components/dashboard/settings/ApiKeySettings.tsx index 1455e1b6..4d43be7a 100644 --- a/apps/web/components/dashboard/settings/ApiKeySettings.tsx +++ b/apps/web/components/dashboard/settings/ApiKeySettings.tsx @@ -1,4 +1,3 @@ -import { Separator } from "@/components/ui/separator"; import { Table, TableBody, @@ -15,13 +14,12 @@ import DeleteApiKey from "./DeleteApiKey"; export default async function ApiKeys() { const keys = await api.apiKeys.list(); return ( - <div className="pt-4"> - <span className="text-xl">API Keys</span> - <Separator className="my-2" /> - <div className="flex flex-col space-y-3"> - <div className="flex flex-1 justify-end"> - <AddApiKey /> - </div> + <div> + <div className="flex items-center justify-between"> + <div className="mb-2 text-lg font-medium">API Keys</div> + <AddApiKey /> + </div> + <div className="mt-2"> <Table> <TableHeader> <TableRow> |
