diff --git a/src/app/page.tsx b/src/app/page.tsx
index 4b03993..29e5bfe 100644
--- a/src/app/page.tsx
+++ b/src/app/page.tsx
@@ -1,5 +1,5 @@
import { Alert, AlertDescription, AlertTitle } from "@/components/ui/alert";
-import { getAllLines } from "@/db";
+import { getAllDays, getAllLines } from "@/db";
interface HomePageProps {
searchParams: Promise<{ message?: string }>;
@@ -7,6 +7,7 @@ interface HomePageProps {
export default async function Home({ searchParams }: HomePageProps) {
const lines = await getAllLines();
+ const days = await getAllDays();
const message = (await searchParams).message;
console.log("Message from searchParams:", message);
@@ -17,11 +18,37 @@ export default async function Home({ searchParams }: HomePageProps) {
{message && (
Refetch all data - Response
-
- {message}
-
+ {message}
)}
+
+