{totalParticipants}
{phone}
diff --git a/lib/actions.ts b/lib/actions.ts index de9d78f..63629a2 100644 --- a/lib/actions.ts +++ b/lib/actions.ts @@ -1,6 +1,4 @@ -"use server"; - -export async function getLotteryStatus(startTime: string, endTime: string) { +export function getLotteryStatus(startTime: string, endTime: string) { const now = new Date(); const start = new Date(startTime); const end = new Date(endTime); diff --git a/package.json b/package.json index 22f7e78..6f92a42 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "version": "0.1.0", "private": true, "scripts": { - "dev": "next dev --turbopack -p 4000", + "dev": "next dev -p 4000", "build": "next build", "start": "next start", "lint": "next lint"