import { createFileRoute, Outlet } from '@tanstack/react-router'
import { RequireAuth } from '../auth'

export const Route = createFileRoute('/admin/bookings')({
  component: () => (
    <RequireAuth roles={['admin', 'owner']}>
      <Outlet />
    </RequireAuth>
  ),
})
