Own chart back on the Képletem menu; persons get their own menu, page and a tile
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
"use client";
|
||||
|
||||
import { useRouter } from "next/navigation";
|
||||
|
||||
import { BirthForm } from "@/app/profil/BirthForm";
|
||||
|
||||
export function NewPerson() {
|
||||
const router = useRouter();
|
||||
return (
|
||||
<BirthForm
|
||||
initial={null}
|
||||
person={{}}
|
||||
onCancel={() => router.push("/szemelyek")}
|
||||
onSaved={(id) => router.push(`/kepletek/${id}`)}
|
||||
/>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user