mirror of
https://github.com/soconnor0919/beenvoice.git
synced 2025-12-13 17:44:44 -05:00
The changes focus on improving the layout, styling and UX of the business details pages by: - Streamlining the edit page layout - Adding consistent card styling and spacing - Improving header structure and actions - Enhancing content organization with separators - Updating icon styles and colors - Refining typography and spacing
13 lines
375 B
TypeScript
13 lines
375 B
TypeScript
"use client";
|
|
|
|
import { useParams } from "next/navigation";
|
|
import { BusinessForm } from "~/components/forms/business-form";
|
|
|
|
export default function EditBusinessPage() {
|
|
const params = useParams();
|
|
const businessId = Array.isArray(params?.id) ? params.id[0] : params?.id;
|
|
if (!businessId) return null;
|
|
|
|
return <BusinessForm businessId={businessId} mode="edit" />;
|
|
}
|