diff --git a/app/location/[id]/add/LocationAddPage.tsx b/app/location/[id]/add/LocationAddPage.tsx
index ebef49f..a099506 100644
--- a/app/location/[id]/add/LocationAddPage.tsx
+++ b/app/location/[id]/add/LocationAddPage.tsx
@@ -1,8 +1,7 @@
-import { notFound } from 'next/navigation';
+"use client";
+
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 ();
diff --git a/app/location/[id]/add/page.tsx b/app/location/[id]/add/page.tsx
index fed90e0..3f032fc 100644
--- a/app/location/[id]/add/page.tsx
+++ b/app/location/[id]/add/page.tsx
@@ -1,15 +1,11 @@
import { parseYearMonth } from '@/app/lib/format';
-import { LocationEditFormSkeleton } from '@/app/ui/LocationEditForm';
import LocationAddPage from './LocationAddPage';
import { Main } from '@/app/ui/Main';
-import { Suspense } from 'react';
export default async function Page({ params:{ id } }: { params: { id:string } }) {
return (
- }>
-
-
+
);
}
\ No newline at end of file