-
Account audit logs
-
- View the audit log trail of actions made from your account
-
+ useEffect(() => {
+ handleRefresh();
+ // eslint-disable-next-line react-hooks/exhaustive-deps
+ }, []);
-
-
-
-
Filter by
-
-
-
-
-
-
-
-
-
-
Viewing {fliteredAnalyticsData?.length} logs in total
-
+ return (
+
+
Account audit logs
+
+ View the audit log trail of actions made from your account
+
-
+ {fliteredAnalyticsData?.length > 0 ? (
+
+ ) : (
+
+
+
+ You do not have any audit logs available yet
+
+
- );
+ )}
+
+ );
}
diff --git a/apps/app/components/ui/calendar.tsx b/apps/app/components/ui/calendar.tsx
index c150c32..a71cc49 100644
--- a/apps/app/components/ui/calendar.tsx
+++ b/apps/app/components/ui/calendar.tsx
@@ -1,13 +1,13 @@
-"use client"
+"use client";
-import * as React from "react"
-import { ChevronLeft, ChevronRight } from "lucide-react"
-import { DayPicker } from "react-day-picker"
+import * as React from "react";
+import { ChevronLeft, ChevronRight } from "lucide-react";
+import { DayPicker } from "react-day-picker";
-import { cn } from "@/lib/utils"
-import { buttonVariants } from "@/components/ui/button"
+import { cn } from "@/lib/utils";
+import { buttonVariants } from "@/components/ui/button";
-export type CalendarProps = React.ComponentProps
+export type CalendarProps = React.ComponentProps;
function Calendar({
className,
@@ -27,7 +27,7 @@ function Calendar({
nav: "space-x-1 flex items-center",
nav_button: cn(
buttonVariants({ variant: "outline" }),
- "h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100"
+ "h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100",
),
nav_button_previous: "absolute left-1",
nav_button_next: "absolute right-1",
@@ -40,11 +40,11 @@ function Calendar({
"relative p-0 text-center text-sm focus-within:relative focus-within:z-20 [&:has([aria-selected])]:bg-accent [&:has([aria-selected].day-outside)]:bg-accent/50 [&:has([aria-selected].day-range-end)]:rounded-r-md",
props.mode === "range"
? "[&:has(>.day-range-end)]:rounded-r-md [&:has(>.day-range-start)]:rounded-l-md first:[&:has([aria-selected])]:rounded-l-md last:[&:has([aria-selected])]:rounded-r-md"
- : "[&:has([aria-selected])]:rounded-md"
+ : "[&:has([aria-selected])]:rounded-md",
),
day: cn(
buttonVariants({ variant: "ghost" }),
- "h-8 w-8 p-0 font-normal aria-selected:opacity-100"
+ "h-8 w-8 p-0 font-normal aria-selected:opacity-100",
),
day_range_start: "day-range-start bg-muted-foreground",
day_range_end: "day-range-end bg-muted-foreground",
@@ -69,8 +69,8 @@ function Calendar({
}}
{...props}
/>
- )
+ );
}
-Calendar.displayName = "Calendar"
+Calendar.displayName = "Calendar";
-export { Calendar }
+export { Calendar };