Location Edit/Add/Delete form migrated back to server-side component

This commit is contained in:
2024-02-09 09:43:55 +01:00
parent 27b696faab
commit 9609f7da54
6 changed files with 36 additions and 125 deletions

View File

@@ -1,8 +1,6 @@
"use client";
import { LocationEditForm } from '@/app/ui/LocationEditForm';
import { YearMonth } from '@/app/lib/db-types';
export default function LocationAddPage({ yearMonth }: { yearMonth:YearMonth }) {
export default async function LocationAddPage({ yearMonth }: { yearMonth:YearMonth }) {
return (<LocationEditForm yearMonth={yearMonth} />);
}