This commit is contained in:
Amruth Pillai
2026-01-21 05:03:30 +01:00
parent 4b7fa5a303
commit 2ac5c9137c
4 changed files with 1454 additions and 770 deletions
+2 -4
View File
@@ -32,10 +32,8 @@
:where(li) {
margin-top: var(--list-margin);
margin-bottom: var(--list-margin);
}
:where(li p) {
display: inline;
margin-left: 1rem;
list-style-position: outside;
}
:where(li ul li, li ol li) {
+2 -2
View File
@@ -25,9 +25,9 @@ function RouteComponent() {
queryKey: ["auth", "api-keys"],
queryFn: () => authClient.apiKey.list(),
select: ({ data }) => {
if (!data) return [];
if (!data?.apiKeys) return [];
return data
return data.apiKeys
.sort((a, b) => b.createdAt.getTime() - a.createdAt.getTime())
.filter((key) => !!key.expiresAt && key.expiresAt.getTime() > Date.now());
},