9 lines
410 B
TypeScript
9 lines
410 B
TypeScript
import { notFound } from 'next/navigation';
|
|
import { LocationEditForm } from '@/app/ui/LocationEditForm';
|
|
import { fetchLocationById } from '@/app/lib/actions/locationActions';
|
|
import { YearMonth } from '@/app/lib/db-types';
|
|
import { Main } from '@/app/ui/Main';
|
|
|
|
export default async function LocationAddPage({ yearMonth }: { yearMonth:YearMonth }) {
|
|
return (<LocationEditForm yearMonth={yearMonth} />);
|
|
} |