22 lines
515 B
TypeScript
22 lines
515 B
TypeScript
|
|
|
|
import Link from "next/link";
|
|
import { sites } from "../../../_config/sites";
|
|
import { CategoryForm } from "../../../components/category/categroy.form";
|
|
|
|
interface PageProps {
|
|
|
|
}
|
|
|
|
export default async function CatergoryUpdate({ }: PageProps) {
|
|
|
|
return (
|
|
<div className="h-screen">
|
|
|
|
<CategoryForm></CategoryForm>
|
|
<Link className="cursor-pointer p-2 border-1 border-sky-500 bg-sky-500 text-white rounded-full m-1 hover:bg-sky-700 " href={sites.category.url}>zurück</Link>
|
|
|
|
</div>
|
|
);
|
|
}
|