diff --git a/src/app/estacionamento/historico/page.tsx b/src/app/estacionamento/historico/page.tsx index 1d8a672..ac8b966 100644 --- a/src/app/estacionamento/historico/page.tsx +++ b/src/app/estacionamento/historico/page.tsx @@ -1,3 +1,5 @@ +'use client'; + import BookingList from "@/lib/features/bookings/BookingList"; export default function Page() { diff --git a/src/app/estacionamento/page.tsx b/src/app/estacionamento/page.tsx index 661d967..63f3d72 100644 --- a/src/app/estacionamento/page.tsx +++ b/src/app/estacionamento/page.tsx @@ -1,3 +1,5 @@ +'use client'; + import BookingPage from "@/lib/features/bookings/Booking"; interface BookingPageProps { diff --git a/src/app/motoristas/[id]/page.tsx b/src/app/motoristas/[id]/page.tsx index 8b4ce00..41feef6 100644 --- a/src/app/motoristas/[id]/page.tsx +++ b/src/app/motoristas/[id]/page.tsx @@ -1,3 +1,5 @@ +'use client'; + import CustomerForm from '@/lib/features/customers/CustomerForm'; export default function EditFormDriver({ params }: Readonly<{ params: { id: string } }>) { diff --git a/src/app/motoristas/criar/page.tsx b/src/app/motoristas/criar/page.tsx index 7200f06..4ec03ef 100644 --- a/src/app/motoristas/criar/page.tsx +++ b/src/app/motoristas/criar/page.tsx @@ -1,3 +1,5 @@ +'use client'; + import CustomerForm from '@/lib/features/customers/CustomerForm'; export default function CreateDriver() { diff --git a/src/app/pedidos/page.tsx b/src/app/pedidos/page.tsx index 12cc61b..e233f71 100644 --- a/src/app/pedidos/page.tsx +++ b/src/app/pedidos/page.tsx @@ -1,3 +1,5 @@ +'use client'; + import OrderList from "@/lib/features/orders/OrderList"; export default function Page() {