Location Edit / Add / Delete migrated to client-side rendering
This commit is contained in:
@@ -1,6 +1,11 @@
|
||||
import { parseYearMonth } from '@/app/lib/format';
|
||||
import LocationAddPage from './LocationAddPage';
|
||||
import { Main } from '@/app/ui/Main';
|
||||
import dynamic from 'next/dynamic'
|
||||
|
||||
const LocationAddPage = dynamic(
|
||||
() => import('./LocationAddPage'),
|
||||
{ ssr: false }
|
||||
)
|
||||
|
||||
export default async function Page({ params:{ id } }: { params: { id:string } }) {
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user