diff --git a/app/(protected)/admin/line-chart-multiple.tsx b/app/(protected)/admin/line-chart-multiple.tsx index 61f8b15..c545efb 100644 --- a/app/(protected)/admin/line-chart-multiple.tsx +++ b/app/(protected)/admin/line-chart-multiple.tsx @@ -73,6 +73,11 @@ export function LineChartMultiple({ return ( + + + Total requests of {type1} and {type2}. + + value.slice(5, -1)} + tickFormatter={(value) => { + const date = new Date(value); + return date.toLocaleDateString("en-US", { + month: "short", + day: "numeric", + }); + }} /> - + } /> - -
- Showing total requests of {type1} and {type2}. -
-
); } diff --git a/app/(protected)/dashboard/records/record-list.tsx b/app/(protected)/dashboard/records/record-list.tsx index 8dfe658..9302cc0 100644 --- a/app/(protected)/dashboard/records/record-list.tsx +++ b/app/(protected)/dashboard/records/record-list.tsx @@ -288,7 +288,6 @@ export default function UserRecordsList({ user, action }: RecordListProps) {