Files
beenvoice/src/app/dashboard/businesses/[id]/edit/page.tsx
Sean O'Connor 4976c13f32 Improve business details page layout and styling
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
2025-07-16 13:43:45 -04:00

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" />;
}