[autofix.ci] apply automated fixes

This commit is contained in:
autofix-ci[bot]
2026-08-11 02:15:03 +00:00
committed by GitHub
parent 7728e5ea9e
commit c8b87c7105
2 changed files with 7 additions and 7 deletions
@@ -1932,8 +1932,7 @@ export const HandleNotifications = ({ notificationId }: Props) => {
<div className="space-y-0.5"> <div className="space-y-0.5">
<FormLabel>Docker Cleanup</FormLabel> <FormLabel>Docker Cleanup</FormLabel>
<FormDescription> <FormDescription>
Trigger the action when Docker cleanup is Trigger the action when Docker cleanup is performed.
performed.
</FormDescription> </FormDescription>
</div> </div>
<FormControl> <FormControl>
@@ -22,8 +22,11 @@ import { api } from "@/utils/api";
import { DialogAction } from "@/components/shared/dialog-action"; import { DialogAction } from "@/components/shared/dialog-action";
export const ShowSessions = () => { export const ShowSessions = () => {
const { data: sessions, isPending, refetch } = const {
api.user.listSessions.useQuery(); data: sessions,
isPending,
refetch,
} = api.user.listSessions.useQuery();
const { mutateAsync: revoke, isPending: isRevoking } = const { mutateAsync: revoke, isPending: isRevoking } =
api.user.revokeSession.useMutation(); api.user.revokeSession.useMutation();
@@ -160,9 +163,7 @@ const SessionTable = ({
{s.ipAddress || "-"} {s.ipAddress || "-"}
</TableCell> </TableCell>
<TableCell className="hidden lg:table-cell max-w-[200px] truncate text-sm text-muted-foreground"> <TableCell className="hidden lg:table-cell max-w-[200px] truncate text-sm text-muted-foreground">
{s.userAgent {s.userAgent ? parseUserAgent(s.userAgent) : "-"}
? parseUserAgent(s.userAgent)
: "-"}
</TableCell> </TableCell>
<TableCell className="text-sm text-muted-foreground"> <TableCell className="text-sm text-muted-foreground">
{format(new Date(s.createdAt), "MMM d, HH:mm")} {format(new Date(s.createdAt), "MMM d, HH:mm")}