From fa206fe6587582b718ccce1e75a6b4f1f78c9de4 Mon Sep 17 00:00:00 2001 From: Hannah dagemark Date: Thu, 10 Sep 2026 11:21:39 +0200 Subject: [PATCH] fix build errors --- app/Admin/Login/page.tsx | 1 + lib/server_functions/userAuth.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/app/Admin/Login/page.tsx b/app/Admin/Login/page.tsx index f96e411..c176301 100644 --- a/app/Admin/Login/page.tsx +++ b/app/Admin/Login/page.tsx @@ -1,3 +1,4 @@ +"use client"; import { useState } from "react"; import { login, signup } from "@/lib/server_functions/userAuth"; diff --git a/lib/server_functions/userAuth.ts b/lib/server_functions/userAuth.ts index d2fcb19..3871280 100644 --- a/lib/server_functions/userAuth.ts +++ b/lib/server_functions/userAuth.ts @@ -1,3 +1,4 @@ +"use server"; import { cookies } from "next/headers"; import { redirect } from "next/navigation";