This commit is contained in:
oiov
2025-04-08 11:26:25 +08:00
parent 4464a8211b
commit ef2c4a72aa
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ export async function GET(req: Request) {
}
const url = new URL(req.url);
const range = url.searchParams.get("range") || "90d";
const range = url.searchParams.get("range") || "7d";
const startDate = getStartDate(range);
+1 -1
View File
@@ -57,7 +57,7 @@ const chartConfig = {
} satisfies ChartConfig;
export function InteractiveBarChart() {
const [timeRange, setTimeRange] = useState<string>("90d");
const [timeRange, setTimeRange] = useState<string>("7d");
const [activeChart, setActiveChart] =
React.useState<keyof typeof chartConfig>("users");
+1 -1
View File
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -26,8 +26,8 @@
--radius: 0.5rem;
--blue: 210 100% 50%;
--chart-1: 198 93% 60%;
--chart-2: 158deg 64% 52%;
--chart-1: 208 93% 60%;
--chart-2: 138deg 64% 52%;
--chart-3: 216 92% 60%;
--chart-4: 210 98% 78%;
--chart-5: 212 97% 87%;