18 lines
745 B
TypeScript
18 lines
745 B
TypeScript
/**
|
|
* Deliberately OUTSIDE the (customer) route group, same reasoning as
|
|
* src/app/book/layout.tsx: this page reuses BarberDateTimePicker, which
|
|
* renders its own fixed bottom action bar. Nested under (customer)'s
|
|
* persistent BottomNav, the two fixed-bottom elements would overlap —
|
|
* the nav (z-50) sits above the picker's "Confirm Reschedule" bar (z-40)
|
|
* and swallows clicks meant for it. Hiding the bottom nav here avoids
|
|
* that collision, matching the booking flow's own "may temporarily hide
|
|
* the bottom navigation" allowance.
|
|
*/
|
|
export default function RescheduleLayout({ children }: { children: React.ReactNode }) {
|
|
return (
|
|
<div id="main-content" className="min-h-screen bg-stone">
|
|
{children}
|
|
</div>
|
|
);
|
|
}
|