mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-07-25 01:15:26 +10:00
fixes #2540
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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());
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user