From 28ad6b744c0985bd30e74a11e913168da4d6e422 Mon Sep 17 00:00:00 2001 From: Wycz Date: Tue, 8 Sep 2026 08:29:59 +0200 Subject: [PATCH] Add use client to error.tsx and Header --- app/error.tsx | 2 ++ components/Header.tsx | 2 ++ 2 files changed, 4 insertions(+) diff --git a/app/error.tsx b/app/error.tsx index 0747d31..c0ea5a6 100644 --- a/app/error.tsx +++ b/app/error.tsx @@ -1,3 +1,5 @@ +"use client"; + import Header from "@/components/Header"; import Link from "next/link"; diff --git a/components/Header.tsx b/components/Header.tsx index a3776f7..0becc74 100644 --- a/components/Header.tsx +++ b/components/Header.tsx @@ -1,3 +1,5 @@ +"use client"; + import Link from "next/link"; import { signOut } from "next-auth/react"; import { useSession } from "next-auth/react";