Fix server/client component boundary issue with reasonColor/reasonLabel helper functions by moving them to shared utils

This commit is contained in:
t.indorf
2026-05-20 23:09:59 +02:00
parent e25a3bcc04
commit e7eb43462c
4 changed files with 16 additions and 22 deletions
@@ -21,10 +21,9 @@ import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card";
import { Input } from "@/components/ui/input";
import {
AbsenceTable,
reasonColor,
reasonLabel,
type AbsenceTableItem,
} from "./absence-table";
import { reasonColor, reasonLabel } from "@/lib/absence-utils";
export const metadata = { title: "Abwesenheiten · Kita-Planer" };